diff layer/BoxLayer.cpp @ 1552:045063dcd2bc

Merge
author Chris Cannam
date Thu, 21 Nov 2019 14:03:19 +0000
parents e95cefd4aa81
children
line wrap: on
line diff
--- a/layer/BoxLayer.cpp	Thu Nov 21 14:02:57 2019 +0000
+++ b/layer/BoxLayer.cpp	Thu Nov 21 14:03:19 2019 +0000
@@ -540,7 +540,8 @@
 
 //    Profiler profiler("BoxLayer::paint", true);
 
-    int x0 = rect.left() - 40, x1 = rect.right();
+    int x0 = rect.left() - 40;
+    int x1 = x0 + rect.width() + 80;
 
     sv_frame_t wholeFrame0 = v->getFrameForX(0);
     sv_frame_t wholeFrame1 = v->getFrameForX(v->getPaintWidth());