Fix mod overlay not closing on toggle hotkey

This commit is contained in:
Bartłomiej Dach
2022-05-05 21:22:07 +02:00
parent 8f65e0e60f
commit 34cf4c6a38
3 changed files with 27 additions and 1 deletions

View File

@ -333,7 +333,10 @@ namespace osu.Game.Screens.Select
(new FooterButtonOptions(), BeatmapOptions)
};
protected virtual ModSelectScreen CreateModSelectOverlay() => new UserModSelectScreen();
protected virtual ModSelectScreen CreateModSelectOverlay() => new UserModSelectScreen
{
Hotkey = GlobalAction.ToggleModSelection
};
protected virtual void ApplyFilterToCarousel(FilterCriteria criteria)
{