1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-05 14:18:53 +02:00

Move scrub ruler line down 1px

..and update the comment.
This commit is contained in:
James Crook 2017-04-30 18:09:19 +01:00
parent 5e28e3fe6d
commit 0b942d04b7

View File

@ -3101,11 +3101,11 @@ void AdornedRulerPanel::DoDrawBackground(wxDC * dc)
dc->DrawRectangle( mInner );
if (mShowScrubbing) {
// Let's distinguish the scrubbing area by using the same gray as for
// selected track control panel.
// Let's distinguish the scrubbing area by using a themable
// colour and a line to set it off.
AColor::UseThemeColour(dc, clrScrubRuler, clrTrackPanelText );
wxRect ScrubRect = mScrubZone;
ScrubRect.Inflate( 1,1 );
ScrubRect.Inflate( 1,0 );
dc->DrawRectangle(ScrubRect);
}
}