Fix:修复拖拽节点到边缘时画布自动移动无法停止的问题
This commit is contained in:
parent
e9352a4f6c
commit
6878d92ebe
@ -122,6 +122,10 @@ class Drag extends Base {
|
|||||||
if (!this.isMousedown) {
|
if (!this.isMousedown) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
// 停止自动移动
|
||||||
|
if (this.mindMap.opt.autoMoveWhenMouseInEdgeOnDrag && this.mindMap.select) {
|
||||||
|
this.mindMap.select.clearAutoMoveTimer()
|
||||||
|
}
|
||||||
this.isMousedown = false
|
this.isMousedown = false
|
||||||
// 恢复被拖拽节点的临时设置
|
// 恢复被拖拽节点的临时设置
|
||||||
this.beingDragNodeList.forEach(node => {
|
this.beingDragNodeList.forEach(node => {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user