You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Initial editor accessibility.
This commit is contained in:
@@ -291,6 +291,7 @@ void BoneMapper::create_editor() {
|
||||
clear_mapping_button = memnew(Button);
|
||||
clear_mapping_button->set_button_icon(get_editor_theme_icon(SNAME("Clear")));
|
||||
clear_mapping_button->set_tooltip_text(TTR("Clear mappings in current group."));
|
||||
clear_mapping_button->set_accessibility_name(TTRC("Clear Mappings"));
|
||||
clear_mapping_button->connect(SceneStringName(pressed), callable_mp(this, &BoneMapper::_clear_mapping_current_group));
|
||||
group_hbox->add_child(clear_mapping_button);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user