fix bug in #1131, update build
This commit is contained in:
parent
8a8b2be454
commit
e4ec9a8967
2
dist/leaflet-src.js
vendored
2
dist/leaflet-src.js
vendored
@ -7535,6 +7535,7 @@ L.PosAnimation = L.Class.extend({
|
||||
|
||||
L.DomUtil.setPosition(this._el, this._getPos());
|
||||
this._onTransitionEnd();
|
||||
L.Util.falseFn(this._el.offsetWidth); // force reflow in case we are about to start a new animation
|
||||
},
|
||||
|
||||
// you can't easily get intermediate values of properties animated with CSS3 Transitions,
|
||||
@ -7587,7 +7588,6 @@ L.Map.include({
|
||||
|
||||
if (this._panAnim) {
|
||||
this._panAnim.stop();
|
||||
L.Util.falseFn(this._container.offsetWidth); // force reflow
|
||||
}
|
||||
|
||||
var done = (zoomChanged ?
|
||||
|
2
dist/leaflet.js
vendored
2
dist/leaflet.js
vendored
File diff suppressed because one or more lines are too long
@ -34,7 +34,7 @@ L.PosAnimation = L.Class.extend({
|
||||
|
||||
L.DomUtil.setPosition(this._el, this._getPos());
|
||||
this._onTransitionEnd();
|
||||
L.Util.falseFn(this._container.offsetWidth); // force reflow in case we are about to start a new animation
|
||||
L.Util.falseFn(this._el.offsetWidth); // force reflow in case we are about to start a new animation
|
||||
},
|
||||
|
||||
// you can't easily get intermediate values of properties animated with CSS3 Transitions,
|
||||
|
Loading…
Reference in New Issue
Block a user