mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-12-01 15:53:26 -10:00
Fix dragging nodes (#936)
This commit is contained in:
1 parent
2bcc3d3baf
commit
df44e8d978
1 file changed
+1
-1
@@ -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