1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-13 15:03:13 +08:00

Fix modifiers for performance_background_width

This commit is contained in:
recapitalverb 2020-02-03 08:26:12 +07:00
parent 878489651c
commit ff17c76a20

View File

@ -25,7 +25,7 @@ namespace osu.Game.Overlays.Profile.Sections.Ranks
private const int performance_width = 80; private const int performance_width = 80;
private const float performance_background_shear = 0.45f; private const float performance_background_shear = 0.45f;
private readonly float performance_background_width = performance_width + (height / 4f * MathF.Tan(performance_background_shear)); private static readonly float performance_background_width = performance_width + (height / 4f * MathF.Tan(performance_background_shear));
protected readonly ScoreInfo Score; protected readonly ScoreInfo Score;