mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-27 05:29:42 -08:00
add to drop distance
This commit is contained in:
parent
671cf0bb9c
commit
7be94e5399
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue