bugfix
This commit is contained in:
parent
8a59ebffc3
commit
80edde8bb6
@ -248,8 +248,8 @@ var archorize = function(ele,archor){
|
|||||||
ele.style.top = lt.top;
|
ele.style.top = lt.top;
|
||||||
ele.style.left = lt.left;
|
ele.style.left = lt.left;
|
||||||
var o = {
|
var o = {
|
||||||
'x':x,
|
'x':lt.x,
|
||||||
'y':y
|
'y':lt.y
|
||||||
}
|
}
|
||||||
var tsf = bricks.obj_fmtstr(o, 'translateY(-${y}) translateX(-${x})');
|
var tsf = bricks.obj_fmtstr(o, 'translateY(-${y}) translateX(-${x})');
|
||||||
ele.style.transform = tsf;
|
ele.style.transform = tsf;
|
||||||
|
Loading…
Reference in New Issue
Block a user