mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-26 09:48:45 -05:00
Corrected spectrum channels display: removed frequency scale central line when the channel is not selected
This commit is contained in:
parent
aa566f0910
commit
2018607944
@ -769,11 +769,11 @@ void GLSpectrum::paintGL()
|
||||
|
||||
QVector4D color(dv->m_channelMarker->getColor().redF(), dv->m_channelMarker->getColor().greenF(), dv->m_channelMarker->getColor().blueF(), 0.5f);
|
||||
m_glShaderSimple.drawSurface(dv->m_glMatrixFreqScale, color, q3, 4);
|
||||
QVector4D colorLine(0.8f, 0.8f, 0.6f, 1.0f);
|
||||
m_glShaderSimple.drawSegments(dv->m_glMatrixDsbFreqScale, colorLine, &q3[8], 2);
|
||||
|
||||
if (dv->m_channelMarker->getHighlighted())
|
||||
{
|
||||
QVector4D colorLine(0.8f, 0.8f, 0.6f, 1.0f);
|
||||
m_glShaderSimple.drawSegments(dv->m_glMatrixDsbFreqScale, colorLine, &q3[8], 2);
|
||||
m_glShaderSimple.drawSegments(dv->m_glMatrixFreqScale, colorLine, &q3[4], 2);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user