mirror of
https://github.com/ppy/osu.git
synced 2026-06-09 11:43:47 +08:00
Use truncation to 2dp of star rating in ranked play card to be consistent with everything else (#37756)
Closes https://github.com/ppy/osu/issues/37755.
This commit is contained in:
committed by
GitHub
Unverified
parent
a22c2eaadf
commit
c8bfb34117
@@ -108,7 +108,9 @@ namespace osu.Game.Tests.Visual.RankedPlay
|
||||
Retries = Enumerable.Range(-2, 100).Select(x => x % 12 - 6).ToArray(),
|
||||
};
|
||||
|
||||
beatmap.StarRating = i + 1;
|
||||
// the .009 part exercises behaviour of truncating star rating to 2dp
|
||||
// it should be discarded completely on display
|
||||
beatmap.StarRating = i + 1.009;
|
||||
|
||||
flow.Add(new RankedPlayCardContent(beatmap)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user