1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-15 13:33:03 +08:00

Merge pull request #15186 from sh0ckR6/rankdisplay-unused-removal

Comment out unused RankDisplay
This commit is contained in:
Dean Herbert 2021-10-19 12:44:58 +09:00 committed by GitHub
commit 41999a9bb1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,7 +13,9 @@ namespace osu.Game.Screens.Play.Break
public class BreakInfo : Container public class BreakInfo : Container
{ {
public PercentageBreakInfoLine AccuracyDisplay; public PercentageBreakInfoLine AccuracyDisplay;
public BreakInfoLine<int> RankDisplay;
// Currently unused but may be revisited in a future design update (see https://github.com/ppy/osu/discussions/15185)
// public BreakInfoLine<int> RankDisplay;
public BreakInfoLine<ScoreRank> GradeDisplay; public BreakInfoLine<ScoreRank> GradeDisplay;
public BreakInfo() public BreakInfo()
@ -41,7 +43,9 @@ namespace osu.Game.Screens.Play.Break
Children = new Drawable[] Children = new Drawable[]
{ {
AccuracyDisplay = new PercentageBreakInfoLine("Accuracy"), AccuracyDisplay = new PercentageBreakInfoLine("Accuracy"),
RankDisplay = new BreakInfoLine<int>("Rank"),
// See https://github.com/ppy/osu/discussions/15185
// RankDisplay = new BreakInfoLine<int>("Rank"),
GradeDisplay = new BreakInfoLine<ScoreRank>("Grade"), GradeDisplay = new BreakInfoLine<ScoreRank>("Grade"),
}, },
} }