fix(rtmi-ui): Don't remove highlight if hint key still pressed.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user