mirror of
https://github.com/ppy/osu
synced 2024-12-15 11:25:29 +00:00
Changes conditionSeek return type to void
This commit is contained in:
parent
d54a7295f6
commit
a877855fc6
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user