Fix:修复节点右键和画布右键的冲突问题

This commit is contained in:
wanglin2 2023-04-11 22:23:26 +08:00
parent 2de0334e3b
commit 25ecde8948

View File

@ -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()
}