fix build
This commit is contained in:
parent
cd0c9ff8a5
commit
f081ff2908
@ -131,8 +131,8 @@ L.DomUtil = {
|
|||||||
},
|
},
|
||||||
|
|
||||||
setTransform: function (el, offset, scale, no3d) {
|
setTransform: function (el, offset, scale, no3d) {
|
||||||
no3d = no3d || !L.Browser.any3d,
|
var pos = offset || new L.Point(0, 0);
|
||||||
pos = offset || new L.Point(0, 0);
|
no3d = no3d || !L.Browser.any3d;
|
||||||
|
|
||||||
el.style[L.DomUtil.TRANSFORM] =
|
el.style[L.DomUtil.TRANSFORM] =
|
||||||
'translate' + (no3d ? '(' : '3d(') + pos.x + 'px,' + pos.y + 'px' + (no3d ? ')' : ',0)') +
|
'translate' + (no3d ? '(' : '3d(') + pos.x + 'px,' + pos.y + 'px' + (no3d ? ')' : ',0)') +
|
||||||
|
Loading…
Reference in New Issue
Block a user