From ec677c781eea401adb2a39d09c22db4bb926d54d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=A1=97=E8=A7=92=E5=B0=8F=E6=9E=97?= <1013335014@qq.com> Date: Mon, 16 Dec 2024 17:20:28 +0800 Subject: [PATCH] =?UTF-8?q?Feat=EF=BC=9A=E6=94=AF=E6=8C=81=E8=B0=83?= =?UTF-8?q?=E6=95=B4=E5=85=B3=E8=81=94=E7=BA=BF=E6=8E=A7=E5=88=B6=E7=82=B9?= =?UTF-8?q?=E4=BD=8D=E7=BD=AE=E5=90=8E=E6=BF=80=E6=B4=BB=E7=8A=B6=E6=80=81?= =?UTF-8?q?=E4=B8=8D=E4=B8=A2=E5=A4=B1=EF=BC=8C=E6=8F=90=E5=8D=87=E4=BD=BF?= =?UTF-8?q?=E7=94=A8=E4=BD=93=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/plugins/associativeLine/associativeLineControls.js | 1 + 1 file changed, 1 insertion(+) diff --git a/simple-mind-map/src/plugins/associativeLine/associativeLineControls.js b/simple-mind-map/src/plugins/associativeLine/associativeLineControls.js index 146e1a61..bd380f7d 100644 --- a/simple-mind-map/src/plugins/associativeLine/associativeLineControls.js +++ b/simple-mind-map/src/plugins/associativeLine/associativeLineControls.js @@ -202,6 +202,7 @@ function onControlPointMouseup(e) { associativeLineTargetControlOffsets: offsetList, associativeLinePoint }) + this.isNotRenderAllLines = true // 这里要加个setTimeout0是因为draw_click事件比mouseup事件触发的晚,所以重置isControlPointMousedown需要等draw_click事件触发完以后 setTimeout(() => { this.resetControlPoint()