mirror of
https://github.com/enso-org/enso.git
synced 2024-12-18 22:21:48 +03:00
67a1ae41a0
[Task link](#181181203). This is a reincarnation of PR [3273](https://github.com/enso-org/enso/pull/3273). The maximum zoom factor of Graph Editor is limited to 1.0x. It is not possible to zoom in from the default camera position. Debug Mode (activated with `ctrl-shift-d` shortcut) allows to zoom up to 100.0x (the previous behavior of Graph Editor). If you enable Debug Mode, then zoom in and disable Debug Mode - you won't see the immediate change of zoom factor back to 1.0x. But it will "jump" (with animation) back once you make a zoom in/out event with your controls. Video: https://user-images.githubusercontent.com/6566674/154037310-1d166737-353e-4ae6-aca1-f7840571ab16.mp4 # Important Notes This is a reincarnation of PR [3273](https://github.com/enso-org/enso/pull/3273). There are two changes since that PR: 1. Fixed bug with GeoMap zooming described [here](https://github.com/enso-org/enso/pull/3290). This is done by restricting `ZoomEvent` API so that it will never contain `amount` which is equal to `0.0`. 2. A few refactoring changes from https://github.com/enso-org/enso/pull/3289 to simplify code a bit. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |