Force a reflow when stopping a PanAnimation to start a ZoomAnimation so that the svg animation works correctly. Fixes #1125

This commit is contained in:
danzel 2012-11-08 15:49:39 +13:00
parent dbd4da6255
commit 128b615a08

View File

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