lil-gui
lil-gui copied to clipboard
More consistent notched wheel behavior
Uses the sign of wheel delta to increment NumberControllers on mousewheel. The spec says I'm supposed to be able to divide this value by 120 to get actual lines scrolled, but in reality every browser is doing something different with this value.
Also removed some unnecessary checks and commented in my thinking.
Still only accurately identifying notched wheels in Safari & Chrome.