Ensure only one dialog is being displayed by the SongSelect footer at a time

Fixes #1208
This commit is contained in:
Dean Herbert
2017-09-20 14:31:17 +09:00
parent 278e51eebc
commit 120446e4a7
3 changed files with 28 additions and 2 deletions

View File

@ -164,7 +164,7 @@ namespace osu.Game.Screens.Select
if (Footer != null)
{
Footer.AddButton(@"random", colours.Green, triggerRandom, Key.F2);
Footer.AddButton(@"options", colours.Blue, BeatmapOptions.ToggleVisibility, Key.F3);
Footer.AddButton(@"options", colours.Blue, BeatmapOptions, Key.F3);
BeatmapOptions.AddButton(@"Delete", @"Beatmap", FontAwesome.fa_trash, colours.Pink, () => promptDelete(Beatmap.Value.BeatmapSetInfo), Key.Number4, float.MaxValue);
}