kopia lustrzana https://gitlab.com/eliggett/wfview
Fixed issue where the waterfall colors re-scaled to min-max versus user
preference upon wf length change.monitor
rodzic
c59050e632
commit
a7587963b0
|
@ -2098,7 +2098,7 @@ void wfmain::prepareWf(unsigned int wfLength)
|
|||
|
||||
colorMap->data()->setValueRange(QCPRange(0, wfLength-1));
|
||||
colorMap->data()->setKeyRange(QCPRange(0, spectWidth-1));
|
||||
colorMap->setDataRange(QCPRange(0, rigCaps.spectAmpMax));
|
||||
colorMap->setDataRange(QCPRange(prefs.plotFloor, prefs.plotCeiling));
|
||||
colorMap->setGradient(static_cast<QCPColorGradient::GradientPreset>(ui->wfthemeCombo->currentData().toInt()));
|
||||
|
||||
if(colorMapData == Q_NULLPTR)
|
||||
|
|
Ładowanie…
Reference in New Issue