mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 18:13:00 +08:00
Clamping seekTime to beatmap length
This commit is contained in:
parent
f49c9673cc
commit
d287db7961
@ -118,6 +118,7 @@ namespace osu.Game.Screens.Edit
|
||||
|
||||
if (!snapped || ControlPointInfo.TimingPoints.Count == 0)
|
||||
{
|
||||
seekTime = Math.Clamp(seekTime, 0, TrackLength);
|
||||
SeekSmoothlyTo(seekTime);
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user