Skip to content

Improve Input Map and Shortcuts editor - #107196

Merged
akien-mga merged 1 commit into
godotengine:masterfrom
timothyqiu:events-improvements
Jun 8, 2025
Merged

Improve Input Map and Shortcuts editor#107196
akien-mga merged 1 commit into
godotengine:masterfrom
timothyqiu:events-improvements

Conversation

@timothyqiu

@timothyqiu timothyqiu commented Jun 6, 2025

Copy link
Copy Markdown
Member
  • Fixes not being able to search by pressing ESC and event configuration dialog not reacting to ESC.
  • Removes double translations.
  • Cleans up InputEventConfigurationDialog for auto-translation.
  • Adapts to editor theme change.
    • Notably, the main reason why the lists cannot adapt to theme changes is that they use child_node->get_theme_xxx() in NOTIFICATION_THEME_CHANGED instead of calling the method directly. This redirection is not only redundant but also returns cached old values since the child nodes have not yet received the notification at that time.
  • 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 is the same behavior as settings searching.

Comment thread editor/gui/editor_event_search_bar.cpp Outdated
@timothyqiu
timothyqiu force-pushed the events-improvements branch from fa98ae3 to 9c04dac Compare June 6, 2025 14:21
Comment thread editor/gui/editor_event_search_bar.cpp Outdated
@timothyqiu
timothyqiu force-pushed the events-improvements branch from 9c04dac to 3e965e6 Compare June 6, 2025 16:43
Comment thread editor/editor_settings_dialog.cpp Outdated
@timothyqiu
timothyqiu force-pushed the events-improvements branch from 3e965e6 to dbd15ea Compare June 7, 2025 02:51
Comment thread editor/gui/editor_event_search_bar.cpp
- 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.
@timothyqiu
timothyqiu force-pushed the events-improvements branch from dbd15ea to 146599d Compare June 7, 2025 09:52
@akien-mga
akien-mga merged commit 8bae32e into godotengine:master Jun 8, 2025
@akien-mga

Copy link
Copy Markdown
Member

Thanks!

@timothyqiu
timothyqiu deleted the events-improvements branch June 9, 2025 02:23
BendyLand pushed a commit to BendyLand/voltaire that referenced this pull request Aug 2, 2026
…ents

Improve Input Map and Shortcuts editor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants