mirror of
https://github.com/lightsoutgames/godot-accessibility.git
synced 2024-11-22 03:45:56 +00:00
Merge branch 'master' of https://gitlab.com/lightsoutgames/godot-accessibility
This commit is contained in:
commit
065f62181b
|
@ -378,6 +378,9 @@ func focus():
|
|||
func unfocus():
|
||||
print("Unfocused")
|
||||
position_in_children = 0
|
||||
yield(node.get_tree().create_timer(1), "timeout")
|
||||
if not node.get_focus_owner():
|
||||
node.get_tree().root.warp_mouse(node.rect_global_position)
|
||||
|
||||
func click_focus():
|
||||
if node.has_focus():
|
||||
|
|
Loading…
Reference in New Issue
Block a user