diff --git a/src/menus/SelectMenus.cpp b/src/menus/SelectMenus.cpp index fee2c8882a03..34809377d373 100644 --- a/src/menus/SelectMenus.cpp +++ b/src/menus/SelectMenus.cpp @@ -221,8 +221,6 @@ void MoveWhenAudioInactive // If TIME_UNIT_SECONDS, snap-to will be off. auto snapMode = settings.GetSnapMode(); const double t0 = viewInfo.selectedRegion.t0(); - const double end = std::max( - tracks.GetEndTime(), viewInfo.GetScreenEndTime()); // Move the cursor // Already in cursor mode? @@ -232,7 +230,6 @@ void MoveWhenAudioInactive t0, seekStep, timeUnit, snapMode); // constrain. newT = std::max(0.0, newT); - newT = std::min(newT, end); // Move viewInfo.selectedRegion.setT0( newT,