Mercurial > hg > svgui
diff layer/TimeValueLayer.cpp @ 326:4f4f38a11cd2
* Factor out uses of "Sonic Visualiser" in "common" code to applicationName()
* Add ability to show work title + artist in top-left of pane (thinking of Vect
but may be useful in SV in future)
* A few other generalisations useful for Vect
author | Chris Cannam |
---|---|
date | Fri, 09 Nov 2007 17:46:58 +0000 |
parents | 984c1975f1ff |
children | 2f83b6e3b8ca 64e84e5efb76 |
line wrap: on
line diff
--- a/layer/TimeValueLayer.cpp Wed Nov 07 16:52:52 2007 +0000 +++ b/layer/TimeValueLayer.cpp Fri Nov 09 17:46:58 2007 +0000 @@ -663,7 +663,10 @@ if (m_plotStyle != PlotLines && m_plotStyle != PlotCurve && m_plotStyle != PlotSegmentation) { - paint.drawRect(x, y - 1, w, 2); + if (m_plotStyle != PlotStems || + w > 1) { + paint.drawRect(x, y - 1, w, 2); + } } if (m_plotStyle == PlotConnectedPoints ||