mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Restore clamp behaviour
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user