mirror of
https://github.com/ppy/osu.git
synced 2024-11-06 06:57:39 +08:00
Restore clamp behaviour
This commit is contained in:
parent
fa8e7adf07
commit
3295f8657a
@ -241,7 +241,7 @@ namespace osu.Game.Tests.Visual
|
||||
|
||||
public override bool Seek(double seek)
|
||||
{
|
||||
accumulated = Math.Min(seek, Length);
|
||||
accumulated = Math.Clamp(seek, 0, Length);
|
||||
lastReferenceTime = null;
|
||||
|
||||
return accumulated == seek;
|
||||
|
Loading…
Reference in New Issue
Block a user