mirror of
https://github.com/ppy/osu.git
synced 2026-05-30 17:40:24 +08:00
Clamping seekTime to beatmap length
This commit is contained in:
@@ -118,6 +118,7 @@ namespace osu.Game.Screens.Edit
|
||||
|
||||
if (!snapped || ControlPointInfo.TimingPoints.Count == 0)
|
||||
{
|
||||
seekTime = Math.Clamp(seekTime, 0, TrackLength);
|
||||
SeekSmoothlyTo(seekTime);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user