mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 08:02:55 +08:00
Round star difficulty to two fractional digits during sampling
This commit is contained in:
parent
65db9d664e
commit
bec0f379a7
@ -61,7 +61,7 @@ namespace osu.Game.Graphics
|
||||
(7.0f, Color4Extensions.FromHex("6563de")),
|
||||
(8.0f, Color4Extensions.FromHex("18158e")),
|
||||
(8.0f, Color4.Black),
|
||||
}, (float)starDifficulty);
|
||||
}, (float)Math.Round(starDifficulty, 2, MidpointRounding.AwayFromZero));
|
||||
|
||||
/// <summary>
|
||||
/// Retrieves the colour for a <see cref="ScoreRank"/>.
|
||||
|
Loading…
Reference in New Issue
Block a user