mirror of
https://github.com/ppy/osu.git
synced 2025-02-22 17:22:58 +08: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 int performance_width = 80;
|
||||||
|
|
||||||
private const float performance_background_shear = 0.45f;
|
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;
|
protected readonly ScoreInfo Score;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user