Mercurial > hg > svgui
diff layer/WaveformLayer.cpp @ 1395:32bbb86094c3
Merge from branch spectrogramparam
author | Chris Cannam |
---|---|
date | Wed, 14 Nov 2018 14:23:17 +0000 |
parents | a0bfe366f9cb |
children | 28075cc658c9 |
line wrap: on
line diff
--- a/layer/WaveformLayer.cpp Tue Nov 06 15:42:06 2018 +0000 +++ b/layer/WaveformLayer.cpp Wed Nov 14 14:23:17 2018 +0000 @@ -783,7 +783,7 @@ // Horizontal axis along middle paint->setPen(QPen(midColour, 0)); - paint->drawLine(x0, my, x1, my); + paint->drawLine(QPointF(x0, my + 0.5), QPointF(x1, my + 0.5)); paintChannelScaleGuides(v, paint, rect, ch);