1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-01-19 06:56:07 +01: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

View File

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