Make performance_background_width readonly

This commit is contained in:
recapitalverb 2020-02-02 23:04:11 +07:00
parent 0a186fe722
commit 878489651c

View File

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