https://bugs.kde.org/show_bug.cgi?id=308335

Peter Mühlenpfordt <de...@ukn8.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://commits.kde.org/gwe
                   |                            |nview/1e66de8f8f2664451279b
                   |                            |23f2e6e7cef3ba372bc
         Resolution|---                         |FIXED
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #1 from Peter Mühlenpfordt <de...@ukn8.de> ---
Git commit 1e66de8f8f2664451279b23f2e6e7cef3ba372bc by Peter Mühlenpfordt.
Committed on 15/03/2018 at 13:45.
Pushed by muhlenpfordt into branch 'master'.

Keep click position in focus on middle-click zoom

Summary:
Clicking on an image in View Mode with the middle mouse button toggles
between `Fit` and `100%` zoom modes. The image zoomed to `100%` is
always scrolled to the image center.
This patch keeps the clicked location in focus as it is done while
zooming with {key Ctrl Scroll}.

Test Plan:
* Open a big image in View Mode
* Middle-click on different locations over the image
* The `100%` zoom view should keep the clicked location in focus

Reviewers: #gwenview, rkflx

Reviewed By: #gwenview, rkflx

Subscribers: rkflx, huoni

Differential Revision: https://phabricator.kde.org/D11336

M  +1    -1    lib/documentview/abstractimageview.cpp

https://commits.kde.org/gwenview/1e66de8f8f2664451279b23f2e6e7cef3ba372bc

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to