mirror of
https://github.com/UnickSoft/graphonline.git
synced 2025-07-01 23:36:00 +00:00
Replace onmousewheel event
This commit is contained in:
parent
4b82685aaa
commit
4c82311e36
@ -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)));
|
||||
|
Loading…
x
Reference in New Issue
Block a user