Skip to content

Commit cc7fd2e

Browse files
committed
Fix UI focus being always redrawn on ProjectSettings change
1 parent 56d5624 commit cc7fd2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scene/main/viewport.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -538,7 +538,7 @@ bool Viewport::_can_hide_focus_state() {
538538
}
539539

540540
void Viewport::_on_settings_changed() {
541-
if (!gui.hide_focus && _can_hide_focus_state()) {
541+
if (!gui.hide_focus || _can_hide_focus_state()) {
542542
return;
543543
}
544544

0 commit comments

Comments
 (0)