We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 76906c4 + 38365df commit 2e13c35Copy full SHA for 2e13c35
1 file changed
js/main.js
@@ -954,9 +954,9 @@ class PainterroProc {
954
});
955
956
if (fingersDist > this.lastFingerDist) {
957
- this.documentHandlers.mousewheel(e, 1, true);
+ this.documentHandlers.wheel(e, 1, true);
958
} else if (fingersDist < this.lastFingerDist) {
959
960
}
961
this.lastFingerDist = fingersDist;
962
e.stopPropagation();
@@ -986,7 +986,7 @@ class PainterroProc {
986
this.colorPicker.handleMouseUp(e);
987
988
},
989
- mousewheel: (e, forceWheenDelta, forceCtrlKey) => {
+ wheel: (e, forceWheenDelta, forceCtrlKey) => {
990
if (this.shown) {
991
if (forceCtrlKey !== undefined ? forceCtrlKey : e.ctrlKey) {
992
this.zoomImage(e, forceWheenDelta);
0 commit comments