Edit palette fixes

- If the palette has colors, automatically select the first one
- When adding a new color button, take the color currently selected on the picker instead of white
- Fixes issues with drag&dropping color buttons. The color that was dragged remains selected.
This commit is contained in:
OverloadedOrama 2019-12-26 02:01:04 +02:00
parent 4a2c0eb291
commit 9b73e4f661
9 changed files with 20 additions and 19 deletions

View file

@ -23,4 +23,3 @@ func can_drop_data(position, data):
func drop_data(position, data):
emit_signal("on_drop_data", data.source_index, index);
pass;