mirror of
https://github.com/enso-org/enso.git
synced 2024-12-22 16:01:30 +03:00
614a5a610b
When zooming with Ctrl+wheel, used fixed-factor steps instead of scroll wheel rate information. Fixes #9177. Important Notes - Wheel events are distinguished from trackpad gestures, so that OS X pinch-zoom still works nicely. - When zooming with the mouse wheel, scale factor is rounded (geometrically) to the nearest power of √2, and then stepped up or down by the same factor; this ensures that round values like 100% are never skipped over. - Added directed-clamping logic, so that if the zoom is moved outside the clamping range of a zoom-method, it can be stepped back into range without jumping. |
||
---|---|---|
.. | ||
engine.ts | ||
index.ts | ||
projectManager.ts | ||
providers.ts | ||
vue.ts |