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

Disable keyrepeat for shortcuts #113

Merged
merged 1 commit into from
Jun 2, 2024
Merged

Disable keyrepeat for shortcuts #113

merged 1 commit into from
Jun 2, 2024

Conversation

DarkDefender
Copy link
Contributor

Currently the keyboard shortcut actions gets repeated when holding down the shortcut keys. I don't think this is intentional as I didn't find any shortcuts that would benefit from this behavior.

Besides just being a bit annoying, this could also lead to crashes as the program would get into an undefined state.

For example if you held down the crop shortcut key (shift + c) and clicked outside of the crop hot zones, beeref would crash most of the time.

Currently the keyboard shortcut actions gets repeated when holding down the shortcut keys. I don't think this is intentional as I didn't find any shortcuts that would benefit from this behavior. 

Besides just being a bit annoying, this could also lead to crashes as the program would get into an undefined state.

For example if you held down the crop shortcut key (shift + c) and clicked outside of the crop hot zones, beeref would crash most of the time.
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.94%. Comparing base (6e3bc35) to head (087fc3c).

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #113   +/-   ##
=======================================
  Coverage   97.94%   97.94%           
=======================================
  Files          33       33           
  Lines        4375     4376    +1     
=======================================
+ Hits         4285     4286    +1     
  Misses         90       90           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@rbreu rbreu merged commit c545ad6 into rbreu:main Jun 2, 2024
5 checks passed
@rbreu
Copy link
Owner

rbreu commented Jun 2, 2024

This was an oversight, thank a lot!

@DarkDefender DarkDefender deleted the patch-1 branch June 9, 2024 10:04
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.

3 participants