1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-08 08:27:43 +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 ); 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);
} }
} }