From df44e8d9786902108708b0937b9d577b4feda19f Mon Sep 17 00:00:00 2001 From: 0HyperCube <78500760+0HyperCube@users.noreply.github.com> Date: Mon, 2 Jan 2023 14:38:43 +0000 Subject: [PATCH] Fix dragging nodes (#936) --- frontend/src/components/panels/NodeGraph.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/panels/NodeGraph.vue b/frontend/src/components/panels/NodeGraph.vue index c4c1c45e..b4f266a0 100644 --- a/frontend/src/components/panels/NodeGraph.vue +++ b/frontend/src/components/panels/NodeGraph.vue @@ -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