mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-08 16:37:44 +02:00
Move scrub ruler line down 1px
..and update the comment.
This commit is contained in:
parent
5e28e3fe6d
commit
0b942d04b7
@ -3101,11 +3101,11 @@ void AdornedRulerPanel::DoDrawBackground(wxDC * dc)
|
|||||||
dc->DrawRectangle( mInner );
|
dc->DrawRectangle( mInner );
|
||||||
|
|
||||||
if (mShowScrubbing) {
|
if (mShowScrubbing) {
|
||||||
// Let's distinguish the scrubbing area by using the same gray as for
|
// Let's distinguish the scrubbing area by using a themable
|
||||||
// selected track control panel.
|
// colour and a line to set it off.
|
||||||
AColor::UseThemeColour(dc, clrScrubRuler, clrTrackPanelText );
|
AColor::UseThemeColour(dc, clrScrubRuler, clrTrackPanelText );
|
||||||
wxRect ScrubRect = mScrubZone;
|
wxRect ScrubRect = mScrubZone;
|
||||||
ScrubRect.Inflate( 1,1 );
|
ScrubRect.Inflate( 1,0 );
|
||||||
dc->DrawRectangle(ScrubRect);
|
dc->DrawRectangle(ScrubRect);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user