From d3b593c95324eb5073582fbc4049c1bdb67b610c Mon Sep 17 00:00:00 2001 From: Jordan Sherer Date: Sat, 11 Aug 2018 10:38:38 -0400 Subject: [PATCH] Fixed alignment of red waterfall indicator --- plotter.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/plotter.cpp b/plotter.cpp index 7d0da61..bb4cd5a 100644 --- a/plotter.cpp +++ b/plotter.cpp @@ -563,9 +563,10 @@ void CPlotter::DrawOverlay() //DrawOverlay() overPainter.initFrom(this); overPainter.setCompositionMode(QPainter::CompositionMode_Source); overPainter.fillRect(0, 0, m_Size.width(), m_h, Qt::transparent); - overPainter.setPen(Qt::red); + QPen thinRed(Qt::red, 1); + overPainter.setPen(thinRed); overPainter.drawLine(0, 30, 0, m_h); - overPainter.drawLine(fwidth, 30, fwidth, m_h); + overPainter.drawLine(fwidth+1, 30, fwidth+1, m_h); overPainter.setPen(penRed); overPainter.drawLine(0, 26, fwidth, 26);