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

Lower mCapturedTrack into ClipMoveState, simplify one member function

This commit is contained in:
Paul Licameli
2020-09-12 15:48:53 -04:00
parent 329221b392
commit bc7f527a3b
3 changed files with 19 additions and 18 deletions

View File

@@ -671,8 +671,8 @@ double DoClipMove
if (!right)
desiredSlideAmount *= -1;
auto hSlideAmount = state.DoSlideHorizontal(
desiredSlideAmount, trackList, *track );
auto hSlideAmount =
state.DoSlideHorizontal( desiredSlideAmount, trackList );
// update t0 and t1. There is the possibility that the updated
// t0 may no longer be within the clip due to rounding errors,