mirror of
https://github.com/wanglin2/mind-map.git
synced 2026-02-25 20:37:50 +08:00
Fix:修复节点右键和画布右键的冲突问题
This commit is contained in:
parent
2de0334e3b
commit
25ecde8948
@ -339,6 +339,9 @@ class Node {
|
||||
this.active(e)
|
||||
})
|
||||
this.group.on('mousedown', e => {
|
||||
if (this.isRoot && e.which === 3) {
|
||||
e.stopPropagation()
|
||||
}
|
||||
if (!this.isRoot) {
|
||||
e.stopPropagation()
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user