mirror of
https://github.com/tonytins/CozyPixelStudio.git
synced 2025-06-25 21:44:42 -04:00
Added another palette option and got the selector button working
This commit is contained in:
parent
582ee8e790
commit
f2e858866e
4 changed files with 59 additions and 13 deletions
|
@ -1034,3 +1034,8 @@ func _exit_tree() -> void:
|
|||
config_cache.set_value("window", "position", OS.window_position)
|
||||
config_cache.set_value("window", "size", OS.window_size)
|
||||
config_cache.save("user://cache.ini")
|
||||
|
||||
func _on_PaletteOptionButton_item_selected(ID) -> void:
|
||||
var palette_name = Global.palette_option_button.get_item_metadata(ID)
|
||||
Global.palette_container.on_palette_select(palette_name)
|
||||
pass
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue