From de025d9bc79d926edaf04952186fc23ec8f9188a Mon Sep 17 00:00:00 2001 From: wanglin2 <1013335014@qq.com> Date: Mon, 4 Dec 2023 09:57:29 +0800 Subject: [PATCH] =?UTF-8?q?Fix=EF=BC=9A=E4=BF=AE=E5=A4=8D=E4=B8=8D?= =?UTF-8?q?=E5=9C=A8=E6=A0=BC=E5=BC=8F=E5=88=B7=E6=97=B6=E7=82=B9=E5=87=BB?= =?UTF-8?q?=E7=94=BB=E5=B8=83=E5=92=8C=E8=8A=82=E7=82=B9=E4=B9=9F=E4=BC=9A?= =?UTF-8?q?=E8=A7=A6=E5=8F=91painter=5Fend=E4=BA=8B=E4=BB=B6=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- simple-mind-map/src/plugins/Painter.js | 1 + 1 file changed, 1 insertion(+) diff --git a/simple-mind-map/src/plugins/Painter.js b/simple-mind-map/src/plugins/Painter.js index 388b4290..8dcf90e8 100644 --- a/simple-mind-map/src/plugins/Painter.js +++ b/simple-mind-map/src/plugins/Painter.js @@ -38,6 +38,7 @@ class Painter { } onEndPainter() { + if (!this.isInPainter) return this.endPainter() this.mindMap.emit('painter_end') }