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

Add max width and height setting #1475

Merged
Next Next commit
Fix middle click's long press affecting right click's activation time
  • Loading branch information
LiliaDoe committed Nov 24, 2024
commit 527fa7c78e15b3be204a71ee29d30bf2677601fb
3 changes: 3 additions & 0 deletions js/hoverzoom.js
Original file line number Diff line number Diff line change
Expand Up @@ -1081,6 +1081,9 @@ var hoverZoom = {
function longClick(mouseButtonKey) {
if (mouseButtonKey == -1) longRightPress = true;
switch (mouseButtonKey) {
case -1:
longRightPress = true;
break
case options.actionKey:
actionKeyDown = true;
$(this).mousemove();
Expand Down