mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 16:02:55 +08:00
Fix incorrect accuracy display on overall ranking view
This commit is contained in:
parent
e2703bba18
commit
e90619244d
@ -16,11 +16,11 @@ namespace osu.Game.Screens.Ranking.Statistics.User
|
|||||||
|
|
||||||
protected override LocalisableString Label => UsersStrings.ShowStatsHitAccuracy;
|
protected override LocalisableString Label => UsersStrings.ShowStatsHitAccuracy;
|
||||||
|
|
||||||
protected override LocalisableString FormatCurrentValue(double current) => current.FormatAccuracy();
|
protected override LocalisableString FormatCurrentValue(double current) => (current / 100).FormatAccuracy();
|
||||||
|
|
||||||
protected override int CalculateDifference(double previous, double current, out LocalisableString formattedDifference)
|
protected override int CalculateDifference(double previous, double current, out LocalisableString formattedDifference)
|
||||||
{
|
{
|
||||||
double difference = current - previous;
|
double difference = (current - previous) / 100;
|
||||||
|
|
||||||
if (difference < 0)
|
if (difference < 0)
|
||||||
formattedDifference = difference.FormatAccuracy();
|
formattedDifference = difference.FormatAccuracy();
|
||||||
|
Loading…
Reference in New Issue
Block a user