From 4c82311e3634900c197ae715b38054945ccb6ed2 Mon Sep 17 00:00:00 2001 From: suchatad <110851759+suchatad@users.noreply.github.com> Date: Fri, 18 Nov 2022 16:54:19 +0100 Subject: [PATCH] Replace onmousewheel event --- script/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/main.js b/script/main.js index 35fb2fb..2b0934a 100644 --- a/script/main.js +++ b/script/main.js @@ -185,7 +185,7 @@ function postLoadPage() return application.CanvasOnMouseUp(e); } - application.canvas.onmousewheel = function (e) + application.canvas.onwheel = function (e) { var e = window.event || e; // old IE support var delta = Math.max(-1, Math.min(1, (e.wheelDelta || -e.detail)));