Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Input: Swap events for ui_redo to favor Shift+Ctrl+Z over Ctrl+Y #46316

Merged
merged 1 commit into from
Feb 23, 2021

Conversation

akien-mga
Copy link
Member

That's the most common one we've been using for the general editor, and while the script editor
also supports Ctrl+Y, it should have lower priority.

In theory this code should make both be supported the same but for some reason the general editor
only seems to use the first entry (the script editor does support both).


That's a follow up to #43663 and a workaround, a better solution might be to fix what causes the main editor's undo redo not to match the second InputEventKey assigned to ui_redo. We might still want to merge this to have Shift+Ctrl+Z as the first / favored action, which makes it appear in the contextual menu:

Screenshot_20210222_150625

That's the most common one we've been using for the general editor, and while the script editor
also supports Ctrl+Y, it should have lower priority.

In theory this code should make both be supported the same but for some reason the general editor
only seems to use the first entry (the script editor does support both).
@akien-mga akien-mga merged commit e254715 into godotengine:master Feb 23, 2021
@akien-mga akien-mga deleted the input-ui_redo-swap-order branch February 23, 2021 07:10
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.

2 participants