We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bb9df5c + c364b60 commit 874809eCopy full SHA for 874809e
extensions-builtin/canvas-zoom-and-pan/javascript/zoom.js
@@ -793,7 +793,7 @@ onUiLoaded(async() => {
793
794
targetElement.addEventListener("wheel", e => {
795
// change zoom level
796
- const operation = e.deltaY > 0 ? "-" : "+";
+ const operation = (e.deltaY || -e.wheelDelta) > 0 ? "-" : "+";
797
changeZoomLevel(operation, e);
798
799
// Handle brush size adjustment with ctrl key pressed
0 commit comments