Implement a CTRL+d feature to duplicate a node into place.
The node target node should be created above the source node in the layers list.
A regular paste action should create the target node at the top of every other available layer.
Screenshot
Known Issues / Things To Do
The code comes with a few repetitions, probably not the cleanest solution but it's serviceable.
We should find a way to instruct a node to reset its coordinates to the center of the current viewport, so we can easily handle the past and past in place scenarios.
Summary / How this PR fixes the problem?
Implement a CTRL+d feature to duplicate a node into place. The node target node should be created above the source node in the layers list. A regular
paste
action should create the target node at the top of every other available layer.Screenshot
Known Issues / Things To Do
The code comes with a few repetitions, probably not the cleanest solution but it's serviceable. We should find a way to instruct a node to reset its coordinates to the center of the current viewport, so we can easily handle the past and past in place scenarios.