Don't automatically grab keyboard focus on mouse-enter, since that seems to interfere with keyboard traversal somehow.

This commit is contained in:
Nolan Darilek 2019-09-21 08:58:03 -05:00
parent de2f22b0c2
commit 977b3407ea

View File

@ -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: