mirror of
https://github.com/cookiengineer/audacity
synced 2026-02-09 13:12:17 +01:00
Don't set color index of temp tracks only pasted into other tracks
This commit is contained in:
@@ -1165,7 +1165,6 @@ bool ControlToolBar::DoRecord(AudacityProject &project,
|
||||
// Pad the recording track with silence, up to the
|
||||
// maximum time.
|
||||
auto newTrack = TrackFactory::Get( *p ).NewWaveTrack();
|
||||
newTrack->SetWaveColorIndex( wt->GetWaveColorIndex() );
|
||||
newTrack->InsertSilence(0.0, t0 - endTime);
|
||||
newTrack->Flush();
|
||||
pending->Clear(endTime, t0);
|
||||
|
||||
Reference in New Issue
Block a user