Only highlight when selected
This commit is contained in:
parent
cdb32287e3
commit
916965488c
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue