You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Improve Input Map and Shortcuts editor
- Fixes not being able to search by pressing ESC. - Removes double translations. - Cleans up `InputEventConfigurationDialog` for auto-translation. - Adapts to editor theme change. - Unifies search bar boilerplate code. - Shortcuts: disable the "erase" button if there is no event to remove. - Input Map: always include built-in actions when searching.
This commit is contained in:
@@ -804,8 +804,6 @@ ProjectSettingsEditor::ProjectSettingsEditor(EditorData *p_data) {
|
||||
action_map_editor->connect("action_removed", callable_mp(this, &ProjectSettingsEditor::_action_removed));
|
||||
action_map_editor->connect("action_renamed", callable_mp(this, &ProjectSettingsEditor::_action_renamed));
|
||||
action_map_editor->connect("action_reordered", callable_mp(this, &ProjectSettingsEditor::_action_reordered));
|
||||
action_map_editor->connect(SNAME("filter_focused"), callable_mp((AcceptDialog *)this, &AcceptDialog::set_close_on_escape).bind(false));
|
||||
action_map_editor->connect(SNAME("filter_unfocused"), callable_mp((AcceptDialog *)this, &AcceptDialog::set_close_on_escape).bind(true));
|
||||
tab_container->add_child(action_map_editor);
|
||||
|
||||
localization_editor = memnew(LocalizationEditor);
|
||||
|
||||
Reference in New Issue
Block a user