1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-27 07:01:12 +01:00

Norm's patch to improve selection speed on large projects by reducing the number of unnecessary auto-saves. Maybe vertical zooming should also not trigger an auto-save?

This commit is contained in:
martynshaw99
2013-12-30 00:41:18 +00:00
parent 2c47926141
commit 65e4f56126
5 changed files with 74 additions and 70 deletions

View File

@@ -339,7 +339,8 @@ class AUDACITY_DLL_API AudacityProject: public wxFrame,
virtual void TP_OnPlayKey();
virtual void TP_PushState(wxString longDesc, wxString shortDesc,
int flags);
virtual void TP_ModifyState();
virtual void TP_ModifyState(bool bWantsAutoSave); // if true, writes auto-save file. Should set only if you really want the state change restored after
// a crash, as it can take many seconds for large (eg. 10 track-hours) projects
virtual void TP_RedrawScrollbars();
virtual void TP_ScrollLeft();
virtual void TP_ScrollRight();
@@ -410,7 +411,8 @@ class AUDACITY_DLL_API AudacityProject: public wxFrame,
void ClearClipboard();
void InitialState();
void ModifyState();
void ModifyState(bool bWantsAutoSave); // if true, writes auto-save file. Should set only if you really want the state change restored after
// a crash, as it can take many seconds for large (eg. 10 track-hours) projects
void PopState(TrackList * l);
void UpdateLyrics();