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

Run key processing even when ctrl key is pressed #2234

Merged
merged 1 commit into from
Jul 15, 2023

Conversation

blind
Copy link
Contributor

@blind blind commented Jul 14, 2023

I noticed the keyboard shortcuts in the music tracker using the ctrl key did not work. Turns out the code was never called if ctrl was pressed.

Moved the key processing in music tracker out of the !ctrl scope.
Added early exit from processPianoKeyboard() if ctrl or alt keys are pressed, which mirrors the way it's done in processPatternKeyboard().

Copy link
Owner

@nesbox nesbox left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you

@nesbox nesbox merged commit 47a779d into nesbox:main Jul 15, 2023
@blind blind deleted the music-edit-fix branch July 16, 2023 10:32
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.

2 participants