1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-06 09:47:52 +08:00

Break FooterButtonRandom creation into multiple lines

This commit is contained in:
Jack Boswell (boswelja) 2020-06-04 21:03:10 +12:00
parent 8533d7573d
commit cab132673a

View File

@ -272,7 +272,11 @@ namespace osu.Game.Screens.Select
if (Footer != null)
{
Footer.AddButton(new FooterButtonMods { Current = Mods }, ModSelect);
Footer.AddButton(new FooterButtonRandom { NextRandom = triggerNextRandom, PreviousRandom = triggerPreviousRandom });
Footer.AddButton(new FooterButtonRandom
{
NextRandom = triggerNextRandom,
PreviousRandom = triggerPreviousRandom
});
Footer.AddButton(new FooterButtonOptions(), BeatmapOptions);
BeatmapOptions.AddButton(@"Remove", @"from unplayed", FontAwesome.Regular.TimesCircle, colours.Purple, null, Key.Number1);