ecj2 / momo

[NOT MAINTAINED / ABANDONED] A simple 2D game-making library written in JavaScript.
MIT License
1 stars 0 forks source link

Momo.getMouseZ() is inconsistent between browsers #35

Closed ecj2 closed 4 years ago

ecj2 commented 4 years ago

Its return value is not consistent between Chrome and Firefox. It appears that in Firefox, the return value is equal to the value set in "choose how many lines to scroll each time", as set in system settings in Windows 10. In Chrome, it appears to be that same value but multiplied by a third.

It would be desirable if the method returned the same value between browsers. Perhaps +1 for when scrolling up, and -1 for when scrolling down.