mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2025-08-04 05:18:19 +00:00
Fix dragging nodes (#936)
This commit is contained in:
parent
2bcc3d3baf
commit
df44e8d978
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue