From 56c45a6cd233a264d46e2facea02d06b15d1f68a Mon Sep 17 00:00:00 2001 From: yumoqing Date: Mon, 28 Oct 2024 15:42:25 +0800 Subject: [PATCH] bugfix --- bricks/popup.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bricks/popup.js b/bricks/popup.js index 7d6742e..c5367a8 100644 --- a/bricks/popup.js +++ b/bricks/popup.js @@ -28,8 +28,8 @@ bricks.Popup = class extends bricks.VBox { top = rect.top + parseInt(lt.y) / 100 * rect.height; left = rect.left + parseInt(lt.x) / 100 * rect.width; return { - top:top + 'px'; - left:left + 'px'; + top:top + 'px', + left:left + 'px' } } convert_width(){