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

Alvin Wong <alvinhoc...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|CONFIRMED                   |RESOLVED
      Latest Commit|                            |https://commits.kde.org/kri
                   |                            |ta/1521ea858cb247662001e08e
                   |                            |9995efb134e8da89

--- Comment #7 from Alvin Wong <alvinhoc...@gmail.com> ---
Git commit 1521ea858cb247662001e08e9995efb134e8da89 by Alvin Wong, on behalf of
Michael Zhou.
Committed on 17/02/2018 at 17:41.
Pushed by alvinwong into branch 'master'.

Fix ruler performance problem

The ruler used to draw the marks no matter if they are visible. This
causes a performance problem as under high zoom levels, a large number
(equals to or more than the number of pixels along the width or height
of the canvas) of marks will be drawn. This patch changes the behavior,
let the ruler draw only the marks that are visible or partially visible.

Regression from ba60778bd55071449c56acd78c056623ce7e7ac6
Differential Revision: https://phabricator.kde.org/D10572

M  +50   -4    libs/widgets/KoRuler.cpp

https://commits.kde.org/krita/1521ea858cb247662001e08e9995efb134e8da89

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

Reply via email to