Closed henriiquecampos closed 5 years ago
Could you add undo/redo support? I didn't think about mentioning it but every single tool that modifies a node should always support undos. See the UndoRedo object. If you need a hand ask anytime.
Also please refactor to make the code follow the styleguide. Mainly:
Done, I'm just not sure about this line in particular
onready var _interface: ColorPalette setget , get_interface
This variable is actually set in _enter_tree
, I only made it onready
because it is a dependency of the plugin, and I couldn't find a better way to communicate this dependency. Shall we keep it like this or is better to change it to a simple var
and add a comment talking about said dependence relation?
All good :)
This hopefully closes #20 I added 2 demo palettes to the commit for reference of the
.json
structure.These lines can potentially be removed after #21 since it will be the one responsible to manage this