Use dark theme's button textures for the gold theme

This commit is contained in:
OverloadedOrama 2020-05-04 02:38:41 +03:00
parent d29338a9aa
commit 0ebc7a6033
4 changed files with 8 additions and 8 deletions

View file

@ -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("/")