mirror of
https://github.com/ppy/osu
synced 2025-01-10 08:09:40 +00:00
Make performance_background_width readonly
This commit is contained in:
parent
0a186fe722
commit
878489651c
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user