mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 21:42:58 +08: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);
|
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()
|
protected override void LoadComplete()
|
||||||
|
Loading…
Reference in New Issue
Block a user