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