-
-
Notifications
You must be signed in to change notification settings - Fork 27
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
Address Buggy shortcuts when using Option
key as modifier
#11
Labels
bug
Something isn't working
Comments
ParthJadhav
changed the title
🐛 Address Buggy shortcuts when using
Address Buggy shortcuts when using Dec 27, 2022
Option
key as modifierOption
key as modifier
Ty3uK
added a commit
to Ty3uK/Verve
that referenced
this issue
Jan 5, 2023
Related to ParthJadhav#11. `event.key` returns transformed char when `option` key is pressed. For example, when user is trying to record shortcut `Option+Shift+G` `event.key` returns `Option+Shift+˝`. `event.code` returns `KeyG` insted. So getting substring with offset 3 fixes this issue. This commit fixes another bug: when user records shortcut that already registered, window will hide. Adding `unregister` before start recording fixes this issue.
Ty3uK
added a commit
to Ty3uK/Verve
that referenced
this issue
Jan 5, 2023
Related to ParthJadhav#11. `event.key` returns transformed char when `option` key is pressed. For example, when user is trying to record shortcut `Option+Shift+G`, `event.key` returns `Option+Shift+˝`. `event.code` returns `KeyG` instead. So getting substring with offset 3 fixes this issue. This commit fixes another bug: when user records shortcut that already registered, window will hide. Adding `unregister` before start recording fixes this issue.
ParthJadhav
pushed a commit
that referenced
this issue
Jan 6, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hotkeys which have
option
key doesn't work as expected.The text was updated successfully, but these errors were encountered: