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

Always pass ViewInfo to TrackShiftHandle::HitTest

This commit is contained in:
Paul Licameli
2020-09-19 22:04:34 -04:00
parent 637ce894c1
commit f204ee3192
5 changed files with 10 additions and 6 deletions

View File

@@ -643,7 +643,8 @@ double DoClipMove( AudacityProject &project, Track *track,
// Find the first channel that has a clip at time t0
for (auto channel : TrackList::Channels(track) ) {
uShifter = MakeTrackShifter::Call( *track, project );
if( uShifter->HitTest( t0 ) == TrackShifter::HitTestResult::Miss )
if ( uShifter->HitTest( t0, viewInfo ) ==
TrackShifter::HitTestResult::Miss )
uShifter.reset();
else
break;