mirror of
https://github.com/wanglin2/mind-map.git
synced 2026-02-21 18:37:43 +08:00
Fix:修复不在格式刷时点击画布和节点也会触发painter_end事件的问题
This commit is contained in:
parent
79a39f993d
commit
de025d9bc7
@ -38,6 +38,7 @@ class Painter {
|
||||
}
|
||||
|
||||
onEndPainter() {
|
||||
if (!this.isInPainter) return
|
||||
this.endPainter()
|
||||
this.mindMap.emit('painter_end')
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user