Ensure track is playing after seek.

This commit is contained in:
Huo Yaoyuan 2016-10-27 19:51:38 +08:00
parent 73d1eeb272
commit eab8caaa0c

View File

@ -266,7 +266,11 @@ namespace osu.Game.Overlays
return scaledSprite; return scaledSprite;
} }
private void seek(float position) => CurrentTrack?.Seek(CurrentTrack.Length * position); private void seek(float position)
{
CurrentTrack?.Seek(CurrentTrack.Length * position);
CurrentTrack?.Start();
}
//placeholder for toggling //placeholder for toggling
protected override void PopIn() => FadeIn(500); protected override void PopIn() => FadeIn(500);