Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Zoom via mouse wheel: keep the position under the cursor in place (#3998
) * Zoom centered on the mouse position Zooming via the scroll wheel now keeps the position under the curser in place. * QT <5.14 compatibility * Use an exponential factor when zooming This makes the zoom experience a lot smoother: the step size no longer depends on how close you're zoomed in.
- Loading branch information
Showing
3 changed files
with
44 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters