From 80edde8bb6b5897bc0eeb740c35e9a588eafef0e Mon Sep 17 00:00:00 2001 From: yumoqing Date: Mon, 28 Oct 2024 16:03:42 +0800 Subject: [PATCH] bugfix --- bricks/utils.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bricks/utils.js b/bricks/utils.js index 1193962..d9cdfa4 100755 --- a/bricks/utils.js +++ b/bricks/utils.js @@ -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;