mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-02 08:59:28 +02:00
Bug 2680 - Scale for Spectrogram changed unexpectedly.
This fixes the reported issue of a jump in the spectrogram min frequency value when using half-wave collapsed and generating silence.
This commit is contained in:
parent
8f0cec114c
commit
eb16476b31
@ -62,7 +62,7 @@ void SpectrumView::DoSetMinimized( bool minimized )
|
|||||||
#ifdef EXPERIMENTAL_HALF_WAVE
|
#ifdef EXPERIMENTAL_HALF_WAVE
|
||||||
bool bHalfWave;
|
bool bHalfWave;
|
||||||
gPrefs->Read(wxT("/GUI/CollapseToHalfWave"), &bHalfWave, false);
|
gPrefs->Read(wxT("/GUI/CollapseToHalfWave"), &bHalfWave, false);
|
||||||
if( bHalfWave )
|
if( bHalfWave && minimized)
|
||||||
{
|
{
|
||||||
// It is all right to set the top of scale to a huge number,
|
// It is all right to set the top of scale to a huge number,
|
||||||
// not knowing the track rate here -- because when retrieving the
|
// not knowing the track rate here -- because when retrieving the
|
||||||
|
Loading…
x
Reference in New Issue
Block a user