Merge pull request #1127 from danzel/master

Fix #1125 (Zoom while inertial pan breaking SVG Animation)
This commit is contained in:
Vladimir Agafonkin 2012-11-07 23:19:31 -08:00
commit afb06a2337

View File

@ -10,6 +10,7 @@ L.Map.include({
if (this._panAnim) { if (this._panAnim) {
this._panAnim.stop(); this._panAnim.stop();
L.Util.falseFn(this._container.offsetWidth); // force reflow
} }
var done = (zoomChanged ? var done = (zoomChanged ?