1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-09-23 07:29:46 +02:00

Add numbers on ruler back (if not DA)

This commit is contained in:
James Crook 2017-04-04 23:51:00 +01:00
parent b3ae50597e
commit fa62d80a21

View File

@ -575,7 +575,9 @@ void Meter::OnPaint(wxPaintEvent & WXUNUSED(event))
mRuler.SetTickColour( clrText ); mRuler.SetTickColour( clrText );
dc.SetTextForeground( clrText ); dc.SetTextForeground( clrText );
// Draw the ruler // Draw the ruler
//mRuler.Draw(dc); #ifndef EXPERIMENTAL_DA
mRuler.Draw(dc);
#endif
// Bitmap created...unselect // Bitmap created...unselect
dc.SelectObject(wxNullBitmap); dc.SelectObject(wxNullBitmap);
@ -592,7 +594,7 @@ void Meter::OnPaint(wxPaintEvent & WXUNUSED(event))
destDC.SetTextForeground( clrText ); destDC.SetTextForeground( clrText );
#if 0 #ifndef EXPERIMENTAL_DA
// We can have numbers over the bars, in which case we have to draw them each time. // We can have numbers over the bars, in which case we have to draw them each time.
if (mStyle == HorizontalStereoCompact || mStyle == VerticalStereoCompact) if (mStyle == HorizontalStereoCompact || mStyle == VerticalStereoCompact)
{ {