1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-16 06:03:49 +01:00

Fix end of range of TrackPanelCellIterator

This commit is contained in:
Paul Licameli
2017-12-20 10:55:40 -05:00
parent 63de7f0884
commit 0c2f6bb176
2 changed files with 4 additions and 1 deletions

View File

@@ -3454,6 +3454,8 @@ TrackPanelCellIterator::TrackPanelCellIterator(TrackPanel *trackPanel, bool begi
else
mpCell = trackPanel->GetBackgroundCell();
}
else
mDidBackground = true;
const auto size = mPanel->GetSize();
mRect = { 0, 0, size.x, size.y };