Selectively apply FOCUS_ACCESSIBILITY to the Labels instead of setting it by default.

This commit is contained in:
Pāvels Nadtočajevs
2025-04-22 11:57:16 +03:00
parent 1696ab0cb6
commit 5b49fd4207
84 changed files with 159 additions and 14 deletions

View File

@@ -435,6 +435,7 @@ void EditorToaster::_popup_str(const String &p_message, Severity p_severity, con
hb->add_theme_constant_override("separation", 0);
Label *label = memnew(Label);
label->set_focus_mode(FOCUS_ACCESSIBILITY);
hb->add_child(label);
Label *count_label = memnew(Label);