mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-16 06:03:49 +01:00
Rename, rewrite, and simplify use of FindPendingChangedTrack
This commit is contained in:
@@ -1193,9 +1193,7 @@ void TrackPanel::DrawEverythingElse(TrackPanelDrawingContext &context,
|
||||
|
||||
VisibleTrackIterator iter(GetProject());
|
||||
for (const Track *t = iter.First(); t; t = iter.Next()) {
|
||||
auto other = GetTracks()->FindPendingChangedTrack(t->GetId());
|
||||
if (other)
|
||||
t = other.get();
|
||||
t = t->SubstitutePendingChangedTrack().get();
|
||||
trackRect.y = t->GetY() - mViewInfo->vpos;
|
||||
trackRect.height = t->GetHeight();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user