Create duplicated node underneath the existing one

This commit is contained in:
Jan Oberhauser 2019-07-26 07:17:40 +02:00
parent 0ac97c6523
commit d00610e629

View file

@ -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]);