Only highlight when selected

This commit is contained in:
Joey Yakimowich-Payne 2026-02-06 12:57:35 -07:00
commit 916965488c

View file

@ -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;