mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-02-20 12:33:14 +00:00
Fix RestoreDefaultButton having an alpha value of 0.5
This commit is contained in:
parent
ec1b29eb5e
commit
a67855a7f2
1 changed files with 1 additions and 1 deletions
|
@ -110,7 +110,7 @@ func change_icon_colors() -> void:
|
|||
for node in get_tree().get_nodes_in_group("UIButtons"):
|
||||
if node is TextureButton:
|
||||
node.modulate = Global.modulate_icon_color
|
||||
if node.disabled:
|
||||
if node.disabled and not ("RestoreDefaultButton" in node.name):
|
||||
node.modulate.a = 0.5
|
||||
elif node is Button:
|
||||
var texture : TextureRect
|
||||
|
|
Loading…
Add table
Reference in a new issue