mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-22 14:32:58 +02:00
Bug2144: track name should overpaint channel separator of minimized track
This commit is contained in:
@@ -146,9 +146,9 @@ static void DrawTrackName(
|
|||||||
void CommonTrackView::Draw(
|
void CommonTrackView::Draw(
|
||||||
TrackPanelDrawingContext &context, const wxRect &rect, unsigned iPass )
|
TrackPanelDrawingContext &context, const wxRect &rect, unsigned iPass )
|
||||||
{
|
{
|
||||||
// This overpaints only the track area, so any pass after tracks is late
|
// This overpaints the track area, but sometimes too the stereo channel
|
||||||
// enough.
|
// separator, so draw at least later than that
|
||||||
if ( iPass == TrackArtist::PassMargins )
|
if ( iPass == TrackArtist::PassBorders )
|
||||||
DrawTrackName(
|
DrawTrackName(
|
||||||
context, FindTrack()->SubstitutePendingChangedTrack().get(), rect );
|
context, FindTrack()->SubstitutePendingChangedTrack().get(), rect );
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user