mirror of
https://github.com/tonytins/CozyPixelStudio.git
synced 2025-06-25 19:54:44 -04:00
Created basic theme changing under Preferences
Also fixed bug where Global.can_draw wasn't being set to true after PreferencesDialog was hidden
This commit is contained in:
parent
432c9690ff
commit
3cf44a6d55
11 changed files with 263 additions and 214 deletions
|
@ -114,6 +114,7 @@ var palettes := {}
|
|||
|
||||
#Nodes
|
||||
var control : Node
|
||||
var top_menu_container : Panel
|
||||
var left_cursor : Sprite
|
||||
var right_cursor : Sprite
|
||||
var canvas : Canvas
|
||||
|
@ -203,6 +204,7 @@ func _ready() -> void:
|
|||
|
||||
var root = get_tree().get_root()
|
||||
control = find_node_by_name(root, "Control")
|
||||
top_menu_container = find_node_by_name(control, "TopMenuContainer")
|
||||
left_cursor = find_node_by_name(root, "LeftCursor")
|
||||
right_cursor = find_node_by_name(root, "RightCursor")
|
||||
canvas = find_node_by_name(root, "Canvas")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue