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

@ -668,6 +668,7 @@ MeshInstance3DEditor::MeshInstance3DEditor() {
navigation_mesh_dialog->add_child(navigation_mesh_dialog_vbc);
Label *navigation_mesh_l = memnew(Label);
navigation_mesh_l->set_focus_mode(FOCUS_ACCESSIBILITY);
navigation_mesh_l->set_text(TTR("Before converting a rendering mesh to a navigation mesh, please verify:\n\n- The mesh is two-dimensional.\n- The mesh has no surface overlap.\n- The mesh has no self-intersection.\n- The mesh surfaces have indices.\n\nIf the mesh does not fulfill these requirements, the pathfinding will be broken."));
navigation_mesh_dialog_vbc->add_child(navigation_mesh_l);