[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    koffice/kspread/ui
From:       Stefan Nikolaus <nikolaus.kde () googlemail ! com>
Date:       2010-06-19 9:17:38
Message-ID: 20100619091738.221F5AC8D8 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1139878 by nikolaus:

Improve the painting of the selection cursor.


 M  +1 -0      CellToolBase_p.cpp  


--- trunk/koffice/kspread/ui/CellToolBase_p.cpp #1139877:1139878
@@ -1050,6 +1050,7 @@
                 cursorRect.setLeft(left);
                 cursorRect.setRight(right);
             }
+            cursorRect.adjust(unzoomedPixelX, unzoomedPixelY, unzoomedPixelX, unzoomedPixelY);
             painter.setClipRegion(clipRegion.subtracted(cursorRect.toRect()));
             // draw the transparent selection background
             painter.fillRect(QRectF(left, top, right - left, bottom - top), selectionColor);
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic