fix bug in #1131, update build

This commit is contained in:
Vladimir Agafonkin 2012-11-09 16:27:56 +02:00
parent 8a8b2be454
commit e4ec9a8967
3 changed files with 3 additions and 3 deletions

2
dist/leaflet-src.js vendored
View File

@ -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

File diff suppressed because one or more lines are too long

View File

@ -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,