diff --git a/gui/SquareConnectionPainter.cpp b/gui/SquareConnectionPainter.cpp index 03373ae..57739e1 100644 --- a/gui/SquareConnectionPainter.cpp +++ b/gui/SquareConnectionPainter.cpp @@ -231,9 +231,9 @@ void SquareConnectionPainter::paint( painter->drawPath(path); } else { QColor base = selected ? style.selectedColor() : style.normalColor(); - QColor color = activeColor(base); + QColor color = selected ? base : activeColor(base); float width = style.lineWidth(); - if (peakLevel > 0.005f) + if (!selected && peakLevel > 0.005f) width += peakLevel * 1.5f; QPen pen;