mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 14:46:38 +09:00
Reset preview track when stopping instead
This commit is contained in:
@ -98,6 +98,9 @@ namespace osu.Game.Audio
|
||||
|
||||
Track.Stop();
|
||||
|
||||
// Ensure the track is reset immediately on stopping, so the next time it is started it has a correct time value.
|
||||
Track.Seek(0);
|
||||
|
||||
Stopped?.Invoke();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user