Text under frames and TimelineSeconds color change on different themes

This commit is contained in:
OverloadedOrama 2019-12-24 04:37:17 +02:00
parent bfd64a6b84
commit 1f2d8406c2
6 changed files with 17 additions and 8 deletions

View file

@ -93,6 +93,9 @@ func change_theme(ID : int) -> void:
var disabled_file_name = button.texture_disabled.resource_path.get_file()
button.texture_disabled = load("res://Assets/Graphics/%s Themes/%s/%s" % [Global.theme_type, button_category, disabled_file_name])
# Make sure the frame text gets updated
Global.current_frame = Global.current_frame
func _on_GridWidthValue_value_changed(value : float) -> void:
Global.grid_width = value