Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle both mouse wheel and trackpad
The current code ignores magnitude differences in deltaY, resulting in an experience that is either too fast on trackpad or too slow with a mousewheel. This change allows those to differ within a clamped range, so that one zoomSpeed value works well for both input devices. Fixes #1882
- Loading branch information