Skip to content

Conversation

@Flamefire
Copy link
Member

Fix for #1822

When the zoom factor is closer to 1.0 than the mouse-increment set it to 1

Also make sure that using the keys to zoom behave consistently: If we set a "close" zoom level then either "z" or "Z" would jump to 1 level off the expected.

Example: Zoom in to 1.03, between level 4 and 5. If we set the level to "4" than zooming out will jump to 3 not back to 4. Similar for setting it to 5 and zooming in

@stefson
Copy link
Contributor

stefson commented Nov 19, 2025

works as intended, thanks! :)

@Flamefire
Copy link
Member Author

@Flow86 Jenkins fails with

Error response from daemon: client version 1.52 is too new. Maximum supported API version is 1.41

@Flow86
Copy link
Member

Flow86 commented Nov 21, 2025

@Flow86 Jenkins fails with

Error response from daemon: client version 1.52 is too new. Maximum supported API version is 1.41

yes, already fixed, but I forgot to make it permanent. now it should work

Zooming in with "z" goes to the next zoom level not potentially the
previous and vice versa.
Add a check that snaps the value to 1 if close enough.

Fixes Return-To-The-Roots#1822
It shouldn't report an iterator as a pointer even if it happens to be one.
Seen in clang-tidy 18, fixed in trunk.
@Flamefire Flamefire merged commit 6da68ac into Return-To-The-Roots:master Nov 22, 2025
18 checks passed
@Flamefire Flamefire deleted the zoom-factor branch November 22, 2025 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants