From 7be94e5399c6d7f97395958f160972bc792533a5 Mon Sep 17 00:00:00 2001 From: Mutasem Date: Mon, 8 Nov 2021 09:37:36 +0100 Subject: [PATCH] add to drop distance --- packages/editor-ui/src/views/NodeView.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/editor-ui/src/views/NodeView.vue b/packages/editor-ui/src/views/NodeView.vue index eb89c5b80e..fecdcf90f5 100644 --- a/packages/editor-ui/src/views/NodeView.vue +++ b/packages/editor-ui/src/views/NodeView.vue @@ -1144,7 +1144,7 @@ export default mixins( } if (this.newNodeInsertPosition) { - newNodeData.position = CanvasHelpers.getNewNodePosition(this.nodes, [this.newNodeInsertPosition[0], this.newNodeInsertPosition[1] - CanvasHelpers.NODE_SIZE / 2]); + newNodeData.position = CanvasHelpers.getNewNodePosition(this.nodes, [this.newNodeInsertPosition[0] + 20, this.newNodeInsertPosition[1] - CanvasHelpers.NODE_SIZE / 2]); this.newNodeInsertPosition = null; } else {