diff --git a/src/Autoload/Global.gd b/src/Autoload/Global.gd index 4c04c3282..9187fb77b 100644 --- a/src/Autoload/Global.gd +++ b/src/Autoload/Global.gd @@ -701,7 +701,7 @@ func disable_button(button : BaseButton, disable : bool) -> void: if button is Button: var theme := theme_type if theme == "Gold": - theme = "Light" + theme = "Dark" for c in button.get_children(): if c is TextureRect: var last_backslash = c.texture.resource_path.get_base_dir().find_last("/") diff --git a/src/UI/Dialogs/PreferencesDialog.gd b/src/UI/Dialogs/PreferencesDialog.gd index 299790d35..4f490e476 100644 --- a/src/UI/Dialogs/PreferencesDialog.gd +++ b/src/UI/Dialogs/PreferencesDialog.gd @@ -373,7 +373,7 @@ func change_theme(ID : int) -> void: elif button is Button: var theme_type := Global.theme_type if theme_type == "Gold": - theme_type = "Light" + theme_type = "Dark" var texture : TextureRect for child in button.get_children(): diff --git a/src/UI/Timeline/AnimationTimeline.gd b/src/UI/Timeline/AnimationTimeline.gd index e2567312c..63276678a 100644 --- a/src/UI/Timeline/AnimationTimeline.gd +++ b/src/UI/Timeline/AnimationTimeline.gd @@ -178,7 +178,7 @@ func _on_OnionSkinning_pressed() -> void: Global.canvas.update() var theme_type := Global.theme_type if theme_type == "Gold": - theme_type = "Light" + theme_type = "Dark" var texture_button : TextureRect = Global.onion_skinning_button.get_child(0) if Global.onion_skinning: texture_button.texture = load("res://Assets/Graphics/%s_themes/timeline/onion_skinning.png" % theme_type.to_lower()) @@ -194,7 +194,7 @@ func _on_LoopAnim_pressed() -> void: var texture_button : TextureRect = Global.loop_animation_button.get_child(0) var theme_type := Global.theme_type if theme_type == "Gold": - theme_type = "Light" + theme_type = "Dark" match animation_loop: 0: # Make it loop animation_loop = 1 @@ -213,7 +213,7 @@ func _on_LoopAnim_pressed() -> void: func _on_PlayForward_toggled(button_pressed : bool) -> void: var theme_type := Global.theme_type if theme_type == "Gold": - theme_type = "Light" + theme_type = "Dark" if button_pressed: Global.play_forward.get_child(0).texture = load("res://Assets/Graphics/%s_themes/timeline/pause.png" % theme_type.to_lower()) else: @@ -225,7 +225,7 @@ func _on_PlayForward_toggled(button_pressed : bool) -> void: func _on_PlayBackwards_toggled(button_pressed : bool) -> void: var theme_type := Global.theme_type if theme_type == "Gold": - theme_type = "Light" + theme_type = "Dark" if button_pressed: Global.play_backwards.get_child(0).texture = load("res://Assets/Graphics/%s_themes/timeline/pause.png" % theme_type.to_lower()) else: @@ -269,7 +269,7 @@ func _on_AnimationTimer_timeout() -> void: func play_animation(play : bool, forward_dir : bool) -> void: var theme_type := Global.theme_type if theme_type == "Gold": - theme_type = "Light" + theme_type = "Dark" if forward_dir: Global.play_backwards.disconnect("toggled", self, "_on_PlayBackwards_toggled") diff --git a/src/UI/Timeline/LayerButton.gd b/src/UI/Timeline/LayerButton.gd index dce7861a0..af219c091 100644 --- a/src/UI/Timeline/LayerButton.gd +++ b/src/UI/Timeline/LayerButton.gd @@ -17,7 +17,7 @@ func _ready() -> void: line_edit = Global.find_node_by_name(self, "LineEdit") var theme_type := Global.theme_type if theme_type == "Gold": - theme_type = "Light" + theme_type = "Dark" if Global.layers[i][1]: visibility_button.get_child(0).texture = load("res://Assets/Graphics/%s_themes/layers/layer_visible.png" % theme_type.to_lower())