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

Added debounce to hotkey presses. #364

Merged
merged 1 commit into from
Dec 15, 2017

Conversation

mgbennet
Copy link
Member

Fixes #352.

I assume debounce is preferable to throttle in the case of key presses. Also not sure of exact debounce time, I found 100 milliseconds to be work without making it feel too laggy.

Also a fix to the registerHotKeys function so we can specify which windows the hotkey should apply to. Otherwise the zoom shortcuts didn't work in the payments window.

@eanders-ms eanders-ms merged commit b7c5aae into microsoft:master Dec 15, 2017
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.

Keyboard shortcut keypresses should be debounced
2 participants