From 72854e9e5449b85656df91fd2c160daf67c663a6 Mon Sep 17 00:00:00 2001 From: WallK Date: Thu, 11 Jan 2024 09:34:38 +0200 Subject: [PATCH] Grab focus condition fix --- tools/configurator/main.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/configurator/main.gd b/tools/configurator/main.gd index 9dfb1868..a91e71fe 100644 --- a/tools/configurator/main.gd +++ b/tools/configurator/main.gd @@ -3,7 +3,7 @@ extends Control func _ready(): var children = findElements(self, "Control") for n: Control in children: #iterate the children to grab focus on mouse hov - if (n.focus_mode != FOCUS_NONE): + if (n.focus_mode == FOCUS_ALL): n.mouse_entered.connect(_on_control_mouse_entered.bind(n)) func _input(event):