1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-01 16:19:43 +02:00

Don't quit update of vertical ruler of short spectrogram views...

... This caused visible anomalies, for instance when dragging the stereo track
separator between channels.  Numbers from one channel used to be drawn over
the ruler of the opposite channel.
This commit is contained in:
Paul Licameli 2020-01-22 19:20:06 -05:00
parent 537ace493e
commit 10eb5864ac

View File

@ -147,9 +147,6 @@ void SpectrumVRulerControls::DoUpdateVRuler(
{
// Spectrum
if (rect.height < 60)
return;
/*
draw the ruler
we will use Hz if maxFreq is < 2000, otherwise we represent kHz,
@ -181,9 +178,6 @@ void SpectrumVRulerControls::DoUpdateVRuler(
{
// SpectrumLog
if (rect.height < 10)
return;
/*
draw the ruler
we will use Hz if maxFreq is < 2000, otherwise we represent kHz,