fixed zoom bug

This commit is contained in:
Ryzerth
2020-12-14 18:14:04 +01:00
parent 2c84123158
commit 1fcd783dd9
7 changed files with 6 additions and 169 deletions

View File

@ -34,7 +34,10 @@ namespace core {
void setInputSampleRate(double samplerate) {
// NOTE: Zoom controls won't work
gui::waterfall.setBandwidth(samplerate);
gui::waterfall.setViewOffset(0);
gui::waterfall.setViewBandwidth(samplerate);
sigpath::signalPath.setSampleRate(samplerate);
setViewBandwidthSlider(samplerate);
}
};