From aa5461e17d84084f4f14defe1534bb89b19db904 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Wed, 31 Dec 2025 15:21:26 +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 e963983..752b1d2 100644 --- a/bricks/popup.js +++ b/bricks/popup.js @@ -144,8 +144,8 @@ bricks.Popup = class extends bricks.VBox { } calculate_moving_pos(event){ return { - x: event.clientX - this.origin_event_x; - y: event.clientY - this.origin_event_y; + x: event.clientX - this.origin_event_x, + y: event.clientY - this.origin_event_y } } resize_start_pos(e){