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

Nate Graham <pointedst...@zoho.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
      Latest Commit|                            |https://commits.kde.org/gwe
                   |                            |nview/e014d581e52b04dfbf1b5
                   |                            |76abe84962910ab5f6a
             Status|CONFIRMED                   |RESOLVED

--- Comment #11 from Nate Graham <pointedst...@zoho.com> ---
Git commit e014d581e52b04dfbf1b576abe84962910ab5f6a by Nathaniel Graham.
Committed on 21/10/2017 at 19:03.
Pushed by ngraham into branch 'master'.

Scroll wheel and touchpad zoom in smaller increments

Summary:

Change the zoom speed so that the scroll wheel and touchpad zoom behavior
matches that of Inkscape and Krita: for more than 100%, the zoom is increased
by sqrt(2); for less than 100%, the zoom is decreased by sqrt(0.5). In practice
this means the following zoom levels:

35% → 50% → 71% → 100% → 141% → 200% → 283% → 400% → 566% → 800%

This feels much more comfortable and offers more control compared to the
current ever-accelerating zoom speed.

Submitting this patch on behalf of  Vangelis Tasoulas.

Test Plan: Tested in KDE Neon. Works as advertised.

Reviewers: #kde_applications, vtasoulas, lukas, gateau, rkflx

Reviewed By: vtasoulas, rkflx

Subscribers: ltoscano, anthonyfieroni, rkflx

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

M  +19   -9    lib/documentview/documentview.cpp
M  +1    -0    lib/documentview/documentview.h

https://commits.kde.org/gwenview/e014d581e52b04dfbf1b576abe84962910ab5f6a

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

Reply via email to