1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-12 14:47:43 +02:00

Restored numbers on compact meter bars.

This commit is contained in:
james.k.crook@gmail.com 2014-11-09 17:03:11 +00:00
parent 24a636d6ea
commit 9e931c806c

@ -833,7 +833,6 @@ void Meter::HandleLayout(wxDC &dc)
int left = 0, top = 0; int left = 0, top = 0;
int right, bottom; int right, bottom;
int barw, barh; int barw, barh;
int rulerHeight;
int i; int i;
mRuler.SetFlip(true); mRuler.SetFlip(true);
@ -976,9 +975,9 @@ void Meter::HandleLayout(wxDC &dc)
const int RulerHeight = 24; const int RulerHeight = 24;
const int TextDownBy = 2; const int TextDownBy = 2;
mRuler.SetBounds(mBar[0].r.x, mRuler.SetBounds(mBar[0].r.x,
BarMid +TextDownBy, BarMid +TextDownBy - RulerHeight/2,
mBar[1].r.x + mBar[1].r.width, mBar[1].r.x + mBar[1].r.width,
BarMid +TextDownBy); BarMid +TextDownBy + RulerHeight/2);
} }
if (mDB) { if (mDB) {
mRuler.SetRange(-mDBRange, 0); mRuler.SetRange(-mDBRange, 0);