PathOfBuilding
PathOfBuilding copied to clipboard
Adding Shortcut to Copy Node Text from Passive Tree to Clipboard
Not based on an issue.
Description of the problem being solved:
When using the custom modifiers in the configuration tab, having the exact wording for the mod can be tedious. Mainly for that, but maybe also for other use cases, a Copy Shortcut (CTRL+C) was added to nodes in the tree. An appropriate tip for this shortcut was also added.
The shortcut copies the node's text and the node's name to the clipboard, to paste it for example into the custom modifiers field. This works for all nodes except for jewel sockets.
The format for the copy is:
# <Node Name>
<Mods>
For example this node:
Gets copied as:
Steps taken to verify a working solution:
- Pressed CTRL+C on a node in the tree
- Pasted that into the custom modifiers field
- checked that the mods apply correctly, while the node name works like a comment