fix(rtmi-ui): Don't remove highlight if hint key still pressed.

This commit is contained in:
2025-10-21 03:56:26 +02:00
parent 84697ca929
commit 33109267dd

View File

@@ -191,8 +191,10 @@ func element_focused(element_id: String) -> void:
func element_unfocused() -> void:
tooltip_node.set_target("")
tooltip_node.set_target_object(null)
if(last_target != null):
last_target.get_component('outline').highlight(false)
if not Input.is_action_pressed("ui_show_hints"):
last_target.get_component('outline').highlight(false)
last_target = null