[Libreoffice-commits] core.git: sc/source

Markus Mohrhard markus.mohrhard at googlemail.com
Mon Apr 25 18:57:14 UTC 2016


 sc/source/ui/view/overlayobject.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 5749afcc71438190853267029ee17d636c2cc910
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date:   Mon Apr 25 20:55:10 2016 +0200

    update the ants only twice per second
    
    This fixes some performance problem when the whole sheet has been
    selected. Updating the whole paint range 6 times per second seems
    excessive.
    
    Change-Id: Ia4de5d66a8c316b70a0dd7daac00b9f10d7d9dfd

diff --git a/sc/source/ui/view/overlayobject.cxx b/sc/source/ui/view/overlayobject.cxx
index 469e98d..cc688f4 100644
--- a/sc/source/ui/view/overlayobject.cxx
+++ b/sc/source/ui/view/overlayobject.cxx
@@ -32,7 +32,7 @@
 using sdr::overlay::OverlayObject;
 using sdr::overlay::OverlayManager;
 
-#define DASH_UPDATE_INTERVAL 180    // in msec
+#define DASH_UPDATE_INTERVAL 500    // in msec
 
 ScOverlayDashedBorder::ScOverlayDashedBorder(const ::basegfx::B2DRange& rRange, const Color& rColor) :
     OverlayObject(rColor),


More information about the Libreoffice-commits mailing list