Fix:修复一些情况下多选节点时的框选区域没有消失的问题
This commit is contained in:
parent
89ebc9a1fa
commit
b959e90723
@ -184,6 +184,7 @@ class Select {
|
|||||||
|
|
||||||
// 创建矩形
|
// 创建矩形
|
||||||
createRect(x, y) {
|
createRect(x, y) {
|
||||||
|
if (this.rect) this.rect.remove()
|
||||||
this.rect = this.mindMap.svg
|
this.rect = this.mindMap.svg
|
||||||
.polygon()
|
.polygon()
|
||||||
.stroke({
|
.stroke({
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user