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
No known key found for this signature in database
GPG key ID: 8413210218EF35D2
84 changed files with 159 additions and 14 deletions

View file

@ -1257,6 +1257,7 @@ TextShaderEditor::TextShaderEditor() {
disk_changed->add_child(vbc);
Label *dl = memnew(Label);
dl->set_focus_mode(FOCUS_ACCESSIBILITY);
dl->set_text(TTR("This shader has been modified on disk.\nWhat action should be taken?"));
vbc->add_child(dl);