mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-19 11:01:15 +00:00
⚡ Increase default space between new nodes
This commit is contained in:
@@ -940,7 +940,7 @@ export default mixins(
|
|||||||
// If a node is active then add the new node directly after the current one
|
// If a node is active then add the new node directly after the current one
|
||||||
// newNodeData.position = [activeNode.position[0], activeNode.position[1] + 60];
|
// newNodeData.position = [activeNode.position[0], activeNode.position[1] + 60];
|
||||||
newNodeData.position = this.getNewNodePosition(
|
newNodeData.position = this.getNewNodePosition(
|
||||||
[lastSelectedNode.position[0] + 150, lastSelectedNode.position[1]],
|
[lastSelectedNode.position[0] + 200, lastSelectedNode.position[1]],
|
||||||
[100, 0],
|
[100, 0],
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user