From 01113b634c4bc8421267e7b3f04c511dd06de74b Mon Sep 17 00:00:00 2001 From: yumoqing Date: Wed, 31 Dec 2025 15:49:55 +0800 Subject: [PATCH] bugfix --- bricks/popup.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/bricks/popup.js b/bricks/popup.js index 5c51b71..a39fb24 100644 --- a/bricks/popup.js +++ b/bricks/popup.js @@ -165,17 +165,22 @@ bricks.Popup = class extends bricks.VBox { } resizing(e){ if (this.resizable_w.dom_element != e.target){ + console.log("resizing():",this.resizable_w.dom_element. r.target); this.stop_resizing(); - console.log(this.resizable_w.dom_element. r.target); return; } if (!this.resize_status){ + console.log("resizing():this.resize_status=false"); this.stop_resizing(); return; } e.preventDefault(); - if (this.is_resizing) return; + if (this.is_resizing) { + console.log("resizing(): resizing not finished"); + return; + } if (this.origin_event_x === null || this.origin_event_y === null){ + console.log("resizing():this.origin_event_x or y is null"); this.remember_event_pos(e); return; }