mirror of
https://github.com/ppy/osu
synced 2025-01-21 05:20:50 +00:00
Merge pull request #22632 from Joehuu/fix-beatmap-preview-progress
Fix beatmap card song preview progress sometimes showing past progress for one frame
This commit is contained in:
commit
e6f0a1dec9
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user