1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-02 08:39:46 +02:00

Bug2144: track name should overpaint channel separator of minimized track

This commit is contained in:
Paul Licameli 2019-07-14 07:15:26 -04:00
parent deb5126d81
commit e4d6e8569f

View File

@ -146,9 +146,9 @@ static void DrawTrackName(
void CommonTrackView::Draw(
TrackPanelDrawingContext &context, const wxRect &rect, unsigned iPass )
{
// This overpaints only the track area, so any pass after tracks is late
// enough.
if ( iPass == TrackArtist::PassMargins )
// This overpaints the track area, but sometimes too the stereo channel
// separator, so draw at least later than that
if ( iPass == TrackArtist::PassBorders )
DrawTrackName(
context, FindTrack()->SubstitutePendingChangedTrack().get(), rect );
}