1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 14:02:55 +08:00
osu-lazer/osu.Game/Screens/Select/Details
Bartłomiej Dach 0bfadfbbf1 Apply precision when comparing adjusted values
In some cases, applying the Difficulty Adjust mod without actually
changing any of the settings previously caused the bar in song select
beatmap details to appear red/blue instead of staying white.

This was caused by not accounting for floating-point imprecisions when
determining bar colour in AdvancedStats. To resolve, first check
equality with tolerance, and only then apply blue/red colours if that
equality check does not hold.
2020-02-01 16:16:15 +01:00
..
AdvancedStats.cs Apply precision when comparing adjusted values 2020-02-01 16:16:15 +01:00
FailRetryGraph.cs CA1825: use Array.Empty. 2019-12-17 12:59:48 +08:00
UserRatings.cs Move metrics to beatmap set 2019-06-13 16:52:49 +09:00