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
|
|
@ -435,6 +435,7 @@ ParticleProcessMaterialMinMaxPropertyEditor::ParticleProcessMaterialMinMaxProper
|
|||
toggle_mode_button = memnew(Button);
|
||||
toggle_mode_button->set_toggle_mode(true);
|
||||
toggle_mode_button->set_tooltip_text(TTR("Toggle between minimum/maximum and base value/spread modes."));
|
||||
toggle_mode_button->set_accessibility_name(TTRC("Spread mode"));
|
||||
hb->add_child(toggle_mode_button);
|
||||
toggle_mode_button->connect(SceneStringName(toggled), callable_mp(this, &ParticleProcessMaterialMinMaxPropertyEditor::_toggle_mode));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue