diff options
| author | Victor Kareh <[email protected]> | 2026-03-05 16:18:56 -0500 |
|---|---|---|
| committer | Victor Kareh <[email protected]> | 2026-03-06 14:40:25 -0500 |
| commit | 1c45f048d906fa3923620fc0a75cd2b56f960eec (patch) | |
| tree | 0d5ac706812d9acdb814ad7471f28b80a84fade8 /help/reference/shell | |
| parent | 2aff670c1b9d922b1f7d23d9fd3b30561466778a (diff) | |
| download | atril-1c45f048d906fa3923620fc0a75cd2b56f960eec.tar.bz2 atril-1c45f048d906fa3923620fc0a75cd2b56f960eec.tar.xz | |
libview: Allow zooming to the limits of the scale
If the current zoom level was within one zoom factor of the limit, it
was not possible to scroll towards the limit. This made smooth scrolling
near the limit awkward, as unless the scroll event had a large delta it
was impossible to reach the zoom limit. Non-smooth scrolling was also
affected, but it was just much more difficult to trigger.
Fix this by allowing zooming while the current zoom level is within one
zoom factor of the limit. Add a new ev_view_can_zoom() function to make
zooming by a factor (as with smooth scrolling) more convenient.
Backported from https://gitlab.gnome.org/GNOME/evince/-/commit/6d299b69
Diffstat (limited to 'help/reference/shell')
0 files changed, 0 insertions, 0 deletions
