Closed RblSb closed 2 years ago
https://caniuse.com/mdn-api_element_wheel_event Basically the only working part of this code is canvas.onwheel = mouseWheel, but
canvas.onwheel = mouseWheel
Internet Explorer only exposes the wheel event via addEventListener; there is no onwheel attribute on DOM objects
And wheel mousewheel is not a event at all, it seems. Closes https://github.com/Kode/Kha/issues/872
wheel mousewheel
Also element.addEventListener("wheel") works since Chrome 31, good thing that browserstack has one-minute trial for temp emails. Try better next time, mdn docs.
element.addEventListener("wheel")
https://caniuse.com/mdn-api_element_wheel_event Basically the only working part of this code is
canvas.onwheel = mouseWheel
, butAnd
wheel mousewheel
is not a event at all, it seems. Closes https://github.com/Kode/Kha/issues/872