mirror of
https://github.com/osukey/osukey.git
synced 2025-08-08 00:53:56 +09:00
Fix some weird formatting
This commit is contained in:
@ -54,10 +54,10 @@ namespace osu.Game.Screens.Menu
|
|||||||
buttons = new ButtonSystem
|
buttons = new ButtonSystem
|
||||||
{
|
{
|
||||||
OnChart = delegate { this.Push(new ChartListing()); },
|
OnChart = delegate { this.Push(new ChartListing()); },
|
||||||
OnDirect = delegate {this.Push(new OnlineListing()); },
|
OnDirect = delegate { this.Push(new OnlineListing()); },
|
||||||
OnEdit = delegate {this.Push(new Editor()); },
|
OnEdit = delegate { this.Push(new Editor()); },
|
||||||
OnSolo = onSolo,
|
OnSolo = onSolo,
|
||||||
OnMulti = delegate {this.Push(new Multiplayer()); },
|
OnMulti = delegate { this.Push(new Multiplayer()); },
|
||||||
OnExit = this.Exit,
|
OnExit = this.Exit,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -100,7 +100,7 @@ namespace osu.Game.Screens.Menu
|
|||||||
|
|
||||||
public void LoadToSolo() => Schedule(onSolo);
|
public void LoadToSolo() => Schedule(onSolo);
|
||||||
|
|
||||||
private void onSolo() =>this.Push(consumeSongSelect());
|
private void onSolo() => this.Push(consumeSongSelect());
|
||||||
|
|
||||||
private Screen consumeSongSelect()
|
private Screen consumeSongSelect()
|
||||||
{
|
{
|
||||||
@ -184,7 +184,7 @@ namespace osu.Game.Screens.Menu
|
|||||||
{
|
{
|
||||||
base.OnResuming(last);
|
base.OnResuming(last);
|
||||||
|
|
||||||
((BackgroundScreenDefault)Background).Next();
|
(Background as BackgroundScreenDefault)?.Next();
|
||||||
|
|
||||||
//we may have consumed our preloaded instance, so let's make another.
|
//we may have consumed our preloaded instance, so let's make another.
|
||||||
preloadSongSelect();
|
preloadSongSelect();
|
||||||
|
Reference in New Issue
Block a user