Move action and hotkey specification local

This commit is contained in:
Dean Herbert
2019-05-08 19:29:43 +09:00
parent c91b9c6032
commit 6dea16f365
5 changed files with 15 additions and 13 deletions

View File

@ -223,9 +223,9 @@ namespace osu.Game.Screens.Select
if (Footer != null)
{
Footer.AddButton(new FooterButtonMods(mods), ModSelect, Key.F1);
Footer.AddButton(new FooterButtonRandom(), triggerRandom, Key.F2);
Footer.AddButton(new FooterButtonOptions(), BeatmapOptions, Key.F3);
Footer.AddButton(new FooterButtonMods(mods), ModSelect);
Footer.AddButton(new FooterButtonRandom { Action = triggerRandom });
Footer.AddButton(new FooterButtonOptions(), BeatmapOptions);
BeatmapOptions.AddButton(@"Delete", @"all difficulties", FontAwesome.Solid.Trash, colours.Pink, () => delete(Beatmap.Value.BeatmapSetInfo), Key.Number4, float.MaxValue);
BeatmapOptions.AddButton(@"Remove", @"from unplayed", FontAwesome.Regular.TimesCircle, colours.Purple, null, Key.Number1);