mirror of
https://github.com/tonytins/CozyPixelStudio.git
synced 2025-06-25 21:44:42 -04:00
Use dark theme's button textures for the gold theme
This commit is contained in:
parent
d29338a9aa
commit
0ebc7a6033
4 changed files with 8 additions and 8 deletions
|
@ -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("/")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue