Add preset column to solo mod select overlay

This commit is contained in:
Bartłomiej Dach
2022-07-23 23:51:29 +02:00
parent b318bbd5e6
commit 839409d7ac
3 changed files with 68 additions and 37 deletions

View File

@ -313,7 +313,7 @@ namespace osu.Game.Screens.Select
(new FooterButtonOptions(), BeatmapOptions)
};
protected virtual ModSelectOverlay CreateModSelectOverlay() => new UserModSelectOverlay();
protected virtual ModSelectOverlay CreateModSelectOverlay() => new SoloModSelectOverlay();
protected virtual void ApplyFilterToCarousel(FilterCriteria criteria)
{
@ -927,5 +927,10 @@ namespace osu.Game.Screens.Select
return base.OnHover(e);
}
}
private class SoloModSelectOverlay : UserModSelectOverlay
{
protected override bool ShowPresets => true;
}
}
}