1
0
mirror of https://github.com/godotengine/godot.git synced 2025-12-31 18:41:20 +00:00

Fix UI focus being shown when it shouldn't

This commit is contained in:
Michael Alexsander
2025-10-07 12:05:34 -03:00
parent 06faefc9f4
commit e32b9274a3
7 changed files with 39 additions and 16 deletions

View File

@@ -552,7 +552,7 @@ bool Viewport::_can_hide_focus_state() {
}
void Viewport::_on_settings_changed() {
if (!gui.hide_focus && _can_hide_focus_state()) {
if (!gui.hide_focus || _can_hide_focus_state()) {
return;
}