mirror of
https://github.com/miek/inspectrum.git
synced 2026-03-21 07:37:08 +01:00
Add missing resize on zoom change
This commit is contained in:
@@ -190,7 +190,7 @@ void Spectrogram::setPowerMin(int power)
|
||||
void Spectrogram::setZoomLevel(int zoom)
|
||||
{
|
||||
zoomLevel = clamp(zoom, 0, (int)log2(fftSize));
|
||||
update();
|
||||
resize(fftSize, getHeight());
|
||||
}
|
||||
|
||||
int Spectrogram::getHeight()
|
||||
|
||||
Reference in New Issue
Block a user