1
0
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:
stevethefiddle@gmail.com 2014-12-10 16:26:47 +00:00
parent d8d40defe1
commit 807689b9b8

View File

@ -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));