From 9988a066f491087335244f351f05c33d20131382 Mon Sep 17 00:00:00 2001 From: ShakeFlower Date: Thu, 12 Jun 2025 09:37:28 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=BF=9B=E4=B8=80=E6=AD=A5=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=E8=87=AA=E5=AE=9A=E4=B9=89=E5=B7=A5=E5=85=B7=E6=A0=8F?= =?UTF-8?q?=E6=8C=89=E9=92=AE=E4=BB=8B=E7=BB=8D=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- project/plugins.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/plugins.js b/project/plugins.js index 750b327a..252402a8 100644 --- a/project/plugins.js +++ b/project/plugins.js @@ -5235,8 +5235,8 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = this.btnList.forEach((btn, pos) => { if (btn.disable) return; if (px >= btn.x && px <= btn.x + btn.w && py > btn.y && py <= btn.y + btn.h) { + if (btn instanceof ToolBtn) this.text = btn.text; // 先更新说明文字,再重绘 btn.event(x, y, px, py); - if (btn instanceof ToolBtn) this.text = btn.text; } }); }