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

4.0 Shortcuts #402

Merged
merged 2 commits into from
Aug 21, 2022
Merged

4.0 Shortcuts #402

merged 2 commits into from
Aug 21, 2022

Conversation

Tim-Fronsee
Copy link
Contributor

Summary

Fixes up ShortcutButton to display and set shortcuts with Godot 4.

ShortcutButton::to_s was reduced to use the new engine functions in order to grab the human-readable display. This display uses capitalization which is a slight change from the existing display. Please let me know if you'd like it to be uncapitalized to match the previous version.

Additionally, I added command_pressed from InputEventWithModifiers in the modifier check functions. Perhaps it isn't required. Let me know if you'd like it removed.

@bitwes bitwes merged commit 7d3174e into bitwes:4_0_experiments Aug 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants