mirror of
https://github.com/wanglin2/mind-map.git
synced 2026-02-21 18:37:43 +08:00
Fix:修复拖动关联线控制点更新后,再次激活关联线控制点位置显示错误的问题
This commit is contained in:
parent
10e9fa3f22
commit
2001bdd3ff
@ -157,6 +157,7 @@ class AssociativeLine {
|
||||
// 取消激活关联线
|
||||
if (!this.isControlPointMousedown) {
|
||||
this.clearActiveLine()
|
||||
this.renderAllLines()
|
||||
}
|
||||
}
|
||||
|
||||
@ -166,6 +167,7 @@ class AssociativeLine {
|
||||
this.completeCreateLine(node)
|
||||
} else {
|
||||
this.clearActiveLine()
|
||||
this.renderAllLines()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user