1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 17:07:38 +08:00

Changes conditionSeek return type to void

This commit is contained in:
Jacob Odgård Tørring 2018-05-11 09:39:55 +02:00
parent d54a7295f6
commit a877855fc6

View File

@ -219,9 +219,11 @@ namespace osu.Game.Overlays
playlist.StateChanged += s => playlistButton.FadeColour(s == Visibility.Visible ? colours.Yellow : Color4.White, 200, Easing.OutQuint);
}
private bool? conditionalSeek(double progress)
private void conditionalSeek(double progress)
{
return DisableSeek ? false : current?.Track.Seek(progress);
if (DisableSeek)
return;
current?.Track.Seek(progress);
}
protected override void LoadComplete()