mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-15 22:28:10 +08:00
Fix dragging nodes (#936)
This commit is contained in:
committed by
Keavon Chambers
parent
2bcc3d3baf
commit
df44e8d978
@@ -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