mirror of https://github.com/ppy/osu
Merge pull request #8349 from peppy/show-d-rank-badge
Show 'D' rank badge on accuracy circle
This commit is contained in:
commit
3861a92422
|
@ -32,6 +32,16 @@ public class TestSceneAccuracyCircle : OsuTestScene
|
|||
typeof(SmoothCircularProgress)
|
||||
};
|
||||
|
||||
[Test]
|
||||
public void TestLowDRank()
|
||||
{
|
||||
var score = createScore();
|
||||
score.Accuracy = 0.2;
|
||||
score.Rank = ScoreRank.D;
|
||||
|
||||
addCircleStep(score);
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void TestDRank()
|
||||
{
|
||||
|
|
|
@ -196,6 +196,7 @@ private void load()
|
|||
new RankBadge(0.9f, ScoreRank.A),
|
||||
new RankBadge(0.8f, ScoreRank.B),
|
||||
new RankBadge(0.7f, ScoreRank.C),
|
||||
new RankBadge(0.35f, ScoreRank.D),
|
||||
}
|
||||
},
|
||||
rankText = new RankText(score.Rank)
|
||||
|
|
Loading…
Reference in New Issue