1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-31 16:09:28 +02:00

Fix corruption of menu arrow on single height rms meter.

This commit is contained in:
stevethefiddle@gmail.com 2014-11-10 14:52:54 +00:00
parent 4b39b189bf
commit c061d3cf4f

View File

@ -1338,7 +1338,7 @@ void Meter::DrawMeterBar(wxDC &dc, MeterBar *meterBar)
rRMS = wxRect(x, y, wd, h);
// Blank out the rest
dc.DrawRectangle(x + wd, y, w, h);
dc.DrawRectangle(x + wd, y, w - wd, h);
// Reset the colors
dc.SetBrush(*wxTRANSPARENT_BRUSH);