mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-09 16:41:14 +02:00
Bug 793. Fixes track name not showing in single right channel track.
This commit is contained in:
parent
d8d40defe1
commit
807689b9b8
@ -442,7 +442,9 @@ void TrackArtist::DrawTrack(const Track * t,
|
||||
DrawSpectrum(wt, dc, r, viewInfo, true, false);
|
||||
break;
|
||||
}
|
||||
if (mbShowTrackNameInWaveform && wt->GetChannel() != Track::RightChannel) { // so left or mono only
|
||||
if (mbShowTrackNameInWaveform &&
|
||||
// Exclude right channel of stereo track
|
||||
!(!wt->GetLinked() && wt->GetLink())) {
|
||||
wxFont labelFont(12, wxSWISS, wxNORMAL, wxNORMAL);
|
||||
dc.SetFont(labelFont);
|
||||
dc.SetTextForeground(wxColour(255, 255, 0));
|
||||
|
Loading…
x
Reference in New Issue
Block a user