4 ms·
Your "viewport.onwheel = function wheel" is backwards for zooming in and out. Pushing the wheel forward should zoom in.
by Washuu 10y ago
Your "viewport.onwheel = function wheel" is backwards for zooming in and out. Pushing the wheel forward should zoom in.
- caspervonb 10y agoYeah non-functioning mouse wheel on this machine, scaling of the value is also most likely way off :-(
- caspervonb 10y agoShould be more reasonable now, scaling by * -0.1 but it could use more cross browser normalization...