This commit is contained in:
yumoqing 2024-10-28 16:03:42 +08:00
parent 8a59ebffc3
commit 80edde8bb6

View File

@ -248,8 +248,8 @@ var archorize = function(ele,archor){
ele.style.top = lt.top;
ele.style.left = lt.left;
var o = {
'x':x,
'y':y
'x':lt.x,
'y':lt.y
}
var tsf = bricks.obj_fmtstr(o, 'translateY(-${y}) translateX(-${x})');
ele.style.transform = tsf;