mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-22 15:20:15 +02:00
Restored numbers on compact meter bars.
This commit is contained in:
parent
24a636d6ea
commit
9e931c806c
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user