ui improvements and addictions #43

Open
a.lucchese wants to merge 9 commits from ui_fixes into main
Showing only changes of commit ccb410d5d6 - Show all commits

View File

@@ -230,6 +230,13 @@ func _set_buttons_mouse_filter(ignore: bool) -> void:
for btn in buttons:
if btn is Control:
btn.mouse_filter = filter
if ignore:
if btn.tooltip_text != "":
btn.set_meta("old_tooltip", btn.tooltip_text)
btn.tooltip_text = ""
else:
if btn.has_meta("old_tooltip"):
btn.tooltip_text = btn.get_meta("old_tooltip")
func hide_ui() -> void:
_ui_hidden = true