We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
For example we have this snippet of code:
hotkeys('ctrl+i', function(event) { event.preventDefault(); alert('This is ctrl+i'); }) hotkeys('shift+k', function(event) { event.preventDefault(); let ctrl = hotkeys.ctrl; alert('Is ctrl pressed: ' + ctrl); })
If we execute ctrl+i first and then shift+k, the second alert will indicate that ctrl is pressed even though it is not. Tested with version 3.13.7.
ctrl+i
shift+k
ctrl
The text was updated successfully, but these errors were encountered:
Found out that hotkeys.isPressed('ctrl') is working correctly.
hotkeys.isPressed('ctrl')
Sorry, something went wrong.
No branches or pull requests
For example we have this snippet of code:
If we execute
ctrl+i
first and thenshift+k
, the second alert will indicate thatctrl
is pressed even though it is not.Tested with version 3.13.7.
The text was updated successfully, but these errors were encountered: