Auto assign hotkeys for BeatmapOptionsButton.

This commit is contained in:
Huo Yaoyuan
2017-03-14 20:36:11 +08:00
parent 35a60a8f7d
commit beb0a8ff03
4 changed files with 23 additions and 20 deletions

View File

@ -149,7 +149,7 @@ namespace osu.Game.Screens.Select
Footer.AddButton(@"random", colours.Green, SelectRandom, Key.F2);
Footer.AddButton(@"options", colours.Blue, BeatmapOptions.ToggleVisibility, Key.F3);
BeatmapOptions.AddButton(@"Delete", @"Beatmap", FontAwesome.fa_trash, colours.Pink, promptDelete, Key.Number4, float.MaxValue);
BeatmapOptions.AddButton(@"Delete", @"Beatmap", FontAwesome.fa_trash, colours.Pink, promptDelete, float.MaxValue);
if (osu != null)
playMode.BindTo(osu.PlayMode);