mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-17 15:28:04 +08:00
Fix dragging nodes (#936)
This commit is contained in:
committed by
Keavon Chambers
parent
2b071437ac
commit
6fca25c213
@@ -691,7 +691,7 @@ export default defineComponent({
|
||||
}
|
||||
}
|
||||
|
||||
if (this.selected.length > 0 && this.draggingNodes.roundX !== 0 && this.draggingNodes.roundY !== 0)
|
||||
if (this.selected.length > 0 && (this.draggingNodes.roundX !== 0 || this.draggingNodes.roundY !== 0))
|
||||
this.editor.instance.moveSelectedNodes(this.draggingNodes.roundX, this.draggingNodes.roundY);
|
||||
|
||||
// Check if this node should be inserted between two other nodes
|
||||
|
||||
Reference in New Issue
Block a user