1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-23 17:30:17 +01:00

TrackShifters decide what parts move or stay fixed...

... for now redundantly with the older logic.

Also shorten a function name to Init
This commit is contained in:
Paul Licameli
2020-09-11 11:44:55 -04:00
parent c279fb6588
commit eb22892064
5 changed files with 130 additions and 8 deletions

View File

@@ -654,7 +654,7 @@ double DoClipMove
track->GetSelected() && !selectedRegion.isPoint();
state.trackExclusions.clear();
TimeShiftHandle::CreateListOfCapturedClips(
TimeShiftHandle::Init(
state, viewInfo, *track, trackList, syncLocked, t0 );
auto desiredT0 = viewInfo.OffsetTimeByPixels( t0, ( right ? 1 : -1 ) );