1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-02-08 12:42:03 +01:00

Fix lots of snapping problems by moving snap-to-time into SnapManager.

Do a 'make dep' after updating, some #includes are added.
This commit is contained in:
BusinessmanProgrammerSteve
2010-02-02 19:43:52 +00:00
parent 8bc7f68edc
commit dbc4aab314
8 changed files with 209 additions and 55 deletions

View File

@@ -4140,10 +4140,6 @@ void AudacityProject::TP_DisplaySelection()
}
GetSelectionBar()->SetTimes(mViewInfo.sel0, mViewInfo.sel1, audioTime);
if( mSnapTo ) {
mViewInfo.sel0 = GetSelectionBar()->GetLeftTime();
mViewInfo.sel1 = GetSelectionBar()->GetRightTime();
}
if (!gAudioIO->IsBusy() && !mLockPlayRegion)
mRuler->SetPlayRegion(mViewInfo.sel0, mViewInfo.sel1);