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(){