mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-25 16:48:44 +02:00
Bug 68 - Vertical scale only has zeros when displaying Waveform (dB) view at -48 dB
This commit is contained in:
parent
c7a911c265
commit
545dbaf1cd
@ -614,7 +614,7 @@ wxString Ruler::LabelString(double d, bool major)
|
|||||||
wxString s;
|
wxString s;
|
||||||
|
|
||||||
// Replace -0 with 0
|
// Replace -0 with 0
|
||||||
if (d < 0.0 && d+mMinor > 0.0)
|
if (d < 0.0 && (d+mMinor > 0.0) && ( mFormat != RealLogFormat ))
|
||||||
d = 0.0;
|
d = 0.0;
|
||||||
|
|
||||||
switch(mFormat) {
|
switch(mFormat) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user