mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-12 05:17:28 -08:00
⚡ Create duplicated node underneath the existing one
This commit is contained in:
parent
0ac97c6523
commit
d00610e629
|
@ -1347,8 +1347,8 @@ export default mixins(
|
|||
newNodeData.name = this.getUniqueNodeName(newNodeData.name);
|
||||
|
||||
newNodeData.position = this.getNewNodePosition(
|
||||
[node.position[0] + 180, node.position[1]],
|
||||
[0, 110]
|
||||
[node.position[0], node.position[1] + 150],
|
||||
[0, 150]
|
||||
);
|
||||
|
||||
await this.addNodes([newNodeData]);
|
||||
|
|
Loading…
Reference in a new issue