From c1e826625f3ca3116d482b27e2f0b230cbd55346 Mon Sep 17 00:00:00 2001 From: tpart Date: Mon, 29 Sep 2025 22:50:44 +0200 Subject: Add new controls explanation (Closes #427) --- client/gui/menus/menu.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/gui/menus/menu.gd') diff --git a/client/gui/menus/menu.gd b/client/gui/menus/menu.gd index e1dc8929..e0d5472a 100644 --- a/client/gui/menus/menu.gd +++ b/client/gui/menus/menu.gd @@ -109,7 +109,7 @@ func focus_first(node: Node) -> bool: focus_auto_changed = true if node.is_in_group("no_auto_focus"): return false - if node is Button or node.is_in_group("autoselect"): + if (node is Button and not node.focus_mode == FocusMode.FOCUS_NONE) or node.is_in_group("autoselect"): node.grab_focus() # print("Node %s (%s) was selected for focus" % [node.name, node]) return true -- cgit v1.2.3-70-g09d2