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

Add machinery to TrackList for pending changes to tracks

This commit is contained in:
Paul Licameli
2017-08-24 14:31:51 -04:00
parent bd2c7e6abc
commit a0c3a4b43c
5 changed files with 295 additions and 24 deletions

View File

@@ -655,6 +655,10 @@ namespace
// TODO: make a finer distinction between refreshing the track control area,
// and the waveform area. As it is, redraw both whenever you must redraw either.
// Copy data from the underlying tracks to the pending tracks that are
// really displayed
panel->GetProject()->GetTracks()->UpdatePendingTracks();
using namespace RefreshCode;
if (refreshResult & DestroyedCell) {