diff layer/Colour3DPlotRenderer.cpp @ 1552:045063dcd2bc

Merge
author Chris Cannam
date Thu, 21 Nov 2019 14:03:19 +0000
parents e95cefd4aa81
children 8b78b3c330fb
line wrap: on
line diff
--- a/layer/Colour3DPlotRenderer.cpp	Thu Nov 21 14:02:57 2019 +0000
+++ b/layer/Colour3DPlotRenderer.cpp	Thu Nov 21 14:03:19 2019 +0000
@@ -480,7 +480,7 @@
     if (!model) return magRange;
     
     int x0 = rect.left();
-    int x1 = rect.right() + 1;
+    int x1 = x0 + rect.width();
 
     int h = v->getPaintHeight();