diff --git a/js/proximity.js b/js/proximity.js index 0db1a7d..05c8b68 100644 --- a/js/proximity.js +++ b/js/proximity.js @@ -828,9 +828,9 @@ function registerEventHandlers() { /* MOUSE AND TOUCH EVENTS */ - window.addEventListener('mousewheel', function (e) { + window.addEventListener('wheel', function (e) { if (e.target.tagName !== 'CANVAS') return; - scrollDelta = scrollDelta + ((e.deltaY / 100) * 3); + scrollDelta = scrollDelta + e.deltaY; }); window.addEventListener('touchstart', function (e) {