changeset 1420:2e0d9e68343d

Merge
author Chris Cannam
date Thu, 14 Feb 2019 13:12:44 +0000
parents 8e40faa56ffd (current diff) e866102db32a (diff)
children 70e93f996da6
files
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/layer/WaveformLayer.cpp	Thu Feb 14 13:12:36 2019 +0000
+++ b/layer/WaveformLayer.cpp	Thu Feb 14 13:12:44 2019 +0000
@@ -1029,6 +1029,9 @@
     }
 
     double penWidth = 1.0;
+    if (v->getZoomLevel().zone == ZoomLevel::FramesPerPixel) {
+        penWidth = 0.0;
+    }
     
     if (m_model->isReady()) {
         paint->setPen(QPen(baseColour, penWidth));