From 977b3407eaeb02ffb8b828dec7950a420632222d Mon Sep 17 00:00:00 2001 From: Nolan Darilek Date: Sat, 21 Sep 2019 08:58:03 -0500 Subject: [PATCH] Don't automatically grab keyboard focus on mouse-enter, since that seems to interfere with keyboard traversal somehow. --- accessible.gd | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/accessible.gd b/accessible.gd index f730409..3efe4da 100644 --- a/accessible.gd +++ b/accessible.gd @@ -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: