mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Initial editor accessibility.
This commit is contained in:
parent
4310cb82b8
commit
302fa831cc
137 changed files with 1544 additions and 93 deletions
|
|
@ -149,6 +149,7 @@ MeshEditor::MeshEditor() {
|
|||
light_1_switch->set_theme_type_variation("PreviewLightButton");
|
||||
light_1_switch->set_toggle_mode(true);
|
||||
light_1_switch->set_pressed(true);
|
||||
light_1_switch->set_accessibility_name(TTRC("First Light"));
|
||||
vb_light->add_child(light_1_switch);
|
||||
light_1_switch->connect(SceneStringName(pressed), callable_mp(this, &MeshEditor::_on_light_1_switch_pressed));
|
||||
|
||||
|
|
@ -156,6 +157,7 @@ MeshEditor::MeshEditor() {
|
|||
light_2_switch->set_theme_type_variation("PreviewLightButton");
|
||||
light_2_switch->set_toggle_mode(true);
|
||||
light_2_switch->set_pressed(true);
|
||||
light_2_switch->set_accessibility_name(TTRC("Second Light"));
|
||||
vb_light->add_child(light_2_switch);
|
||||
light_2_switch->connect(SceneStringName(pressed), callable_mp(this, &MeshEditor::_on_light_2_switch_pressed));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue