mirror of
https://github.com/ppy/osu.git
synced 2025-01-08 00:42:57 +08:00
Show 'D' rank badge on accuracy circle
This commit is contained in:
parent
fc754947e0
commit
c50784da93
@ -32,6 +32,16 @@ namespace osu.Game.Tests.Visual.Ranking
|
|||||||
typeof(SmoothCircularProgress)
|
typeof(SmoothCircularProgress)
|
||||||
};
|
};
|
||||||
|
|
||||||
|
[Test]
|
||||||
|
public void TestLowDRank()
|
||||||
|
{
|
||||||
|
var score = createScore();
|
||||||
|
score.Accuracy = 0.2;
|
||||||
|
score.Rank = ScoreRank.D;
|
||||||
|
|
||||||
|
addCircleStep(score);
|
||||||
|
}
|
||||||
|
|
||||||
[Test]
|
[Test]
|
||||||
public void TestDRank()
|
public void TestDRank()
|
||||||
{
|
{
|
||||||
|
@ -196,6 +196,7 @@ namespace osu.Game.Screens.Ranking.Expanded.Accuracy
|
|||||||
new RankBadge(0.9f, ScoreRank.A),
|
new RankBadge(0.9f, ScoreRank.A),
|
||||||
new RankBadge(0.8f, ScoreRank.B),
|
new RankBadge(0.8f, ScoreRank.B),
|
||||||
new RankBadge(0.7f, ScoreRank.C),
|
new RankBadge(0.7f, ScoreRank.C),
|
||||||
|
new RankBadge(0.35f, ScoreRank.D),
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
rankText = new RankText(score.Rank)
|
rankText = new RankText(score.Rank)
|
||||||
|
Loading…
Reference in New Issue
Block a user