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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user