1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-03-06 22:45:29 +01:00

Bug 406 - Label creation/other non-dialogue editing and keyboard selection hang on long projects

This is part 2...

Improve performance of selection via Selection bar

This provides a similar type of speed up when selecting with the keyboard via
the Selection toolbar.
This commit is contained in:
lllucius
2013-10-23 18:06:49 +00:00
parent 03f5088b6a
commit 5c8baf9c16
6 changed files with 50 additions and 21 deletions

View File

@@ -1199,12 +1199,14 @@ void AudacityProject::AS_SetSnapTo(bool state)
RedrawProject();
}
void AudacityProject::AS_ModifySelection(double &start, double &end)
void AudacityProject::AS_ModifySelection(double &start, double &end, bool done)
{
mViewInfo.sel0 = start;
mViewInfo.sel1 = end;
mTrackPanel->Refresh(false);
ModifyState();
if (done) {
ModifyState();
}
}
void AudacityProject::FinishAutoScroll()