mirror of
https://github.com/lightsoutgames/godot-accessibility.git
synced 2024-12-22 07:35:56 +00:00
Don't automatically grab keyboard focus on mouse-enter, since that seems to interfere with keyboard traversal somehow.
This commit is contained in:
parent
de2f22b0c2
commit
977b3407ea
|
@ -400,8 +400,9 @@ func unfocus():
|
|||
func click_focus():
|
||||
if node.has_focus():
|
||||
return
|
||||
print("Grabbing focus: %s" % node)
|
||||
node.grab_focus()
|
||||
# print("Grabbing focus: %s" % node)
|
||||
# node.grab_focus()
|
||||
focus()
|
||||
|
||||
func gui_input(event):
|
||||
if event is InputEventKey and event.pressed and not event.echo and event.scancode == KEY_MENU:
|
||||
|
|
Loading…
Reference in New Issue
Block a user