add to drop distance

This commit is contained in:
Mutasem 2021-11-08 09:37:36 +01:00
parent 671cf0bb9c
commit 7be94e5399

View file

@ -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 {