forked from woofmeow/straywild
fix: harden controller navigation and text entry
This commit is contained in:
parent
c4e49cdc52
commit
8ea877ecf4
28 changed files with 1320 additions and 96 deletions
|
|
@ -67,6 +67,12 @@ func select_only(catch_id: StringName) -> void:
|
|||
_anchor_id = catch_id
|
||||
|
||||
|
||||
func focus_only(catch_id: StringName) -> void:
|
||||
if catch_id.is_empty() or not _visible_ids.has(catch_id):
|
||||
return
|
||||
_focused_id = catch_id
|
||||
|
||||
|
||||
func clear() -> void:
|
||||
_selected_ids.clear()
|
||||
_focused_id = StringName()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue