mirror of
https://github.com/cookiengineer/audacity
synced 2026-01-15 09:06:09 +01:00
Iterate over the pending tracks for drawing and sizing the scrollbars
This commit is contained in:
@@ -1871,6 +1871,9 @@ void TrackPanel::DrawEverythingElse(TrackPanelDrawingContext &context,
|
||||
|
||||
VisibleTrackIterator iter(GetProject());
|
||||
for (Track *t = iter.First(); t; t = iter.Next()) {
|
||||
auto other = GetTracks()->FindPendingChangedTrack(t->GetId());
|
||||
if (other)
|
||||
t = other.get();
|
||||
trackRect.y = t->GetY() - mViewInfo->vpos;
|
||||
trackRect.height = t->GetHeight();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user