Hide F rank from beatmap overlay

This commit is contained in:
notmyname 2022-08-01 18:54:00 +02:00
parent 01cc9bd7ef
commit 6686b09549

View File

@ -25,7 +25,7 @@ namespace osu.Game.Overlays.BeatmapListing
{ {
protected override MultipleSelectionFilterTabItem CreateTabItem(ScoreRank value) => new RankItem(value); protected override MultipleSelectionFilterTabItem CreateTabItem(ScoreRank value) => new RankItem(value);
protected override IEnumerable<ScoreRank> GetValues() => base.GetValues().Reverse(); protected override IEnumerable<ScoreRank> GetValues() => base.GetValues().Where(r => r > ScoreRank.F).Reverse();
} }
private class RankItem : MultipleSelectionFilterTabItem private class RankItem : MultipleSelectionFilterTabItem