Merge pull request #1127 from danzel/master
Fix #1125 (Zoom while inertial pan breaking SVG Animation)
This commit is contained in:
commit
afb06a2337
@ -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 ?
|
||||||
|
Loading…
Reference in New Issue
Block a user