-
Notifications
You must be signed in to change notification settings - Fork 179
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
Add mouse click action key for right/middle mouse button #1489
base: master
Are you sure you want to change the base?
Add mouse click action key for right/middle mouse button #1489
Conversation
…n the same button
…dle-mouse-button" This reverts commit 9bfd270.
Everything looks correct, and what I have tested runs as expected. Performance seems fine from what I've tested. If any bugs or performance issues are found though, let me know and I'll work on fixing them~ |
js/hoverzoom.js
Outdated
// create right and middle button timers to handle them separately | ||
let longRightPressTimer; | ||
let longMiddlePressTimer; | ||
// TODO: Prevent middle click from triggering when it's an action key |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this still TODO or is this comment a leftover from the early development?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's something that is todo, but I couldn't figure it out yet
… a click action key is selected
Quality Gate failedFailed conditions |
I've tested a majority of the action keys with right click and middle click. Lock works as it did before. If using both click and hold on right click, it's possible to still pull up the context menu on a zoomed image, depending on which action keys are set to right click.