fix removal of useful code by closure compiler
This commit is contained in:
parent
9d93998ba2
commit
8f2bc2c11b
@ -37,7 +37,7 @@ L.Map.include(!(L.Transition && L.Transition.implemented()) ? {} : {
|
|||||||
|
|
||||||
this._tileBg.style[L.DomUtil.TRANSFORM_PROPERTY] = startTransform;
|
this._tileBg.style[L.DomUtil.TRANSFORM_PROPERTY] = startTransform;
|
||||||
|
|
||||||
this._tileBg.offsetWidth; //hack to make sure transform is updated before running animation
|
L.Util.falseFn(this._tileBg.offsetWidth); //hack to make sure transform is updated before running animation
|
||||||
|
|
||||||
var options = {};
|
var options = {};
|
||||||
options[L.DomUtil.TRANSFORM_PROPERTY] = startTransform + ' ' + L.DomUtil.getScaleString(scale, origin);
|
options[L.DomUtil.TRANSFORM_PROPERTY] = startTransform + ' ' + L.DomUtil.getScaleString(scale, origin);
|
||||||
|
Loading…
Reference in New Issue
Block a user