Closed Judgy53 closed 6 years ago
Almost every browser gives a different delta on mousewheel events. This resulted in a very unsmooth zoom in chrome (Windows), safari (Windows) and IE.
This PR fixes this issue by normalizing the value. The resulting speed might need some tweaking (currently 2.5 times faster than buttons)
LGTM. Thanks!
Almost every browser gives a different delta on mousewheel events. This resulted in a very unsmooth zoom in chrome (Windows), safari (Windows) and IE.
This PR fixes this issue by normalizing the value. The resulting speed might need some tweaking (currently 2.5 times faster than buttons)