Fix inconsistent local variable naming

This commit is contained in:
recapitalverb
2020-02-02 21:34:35 +07:00
parent 79efcbd6f3
commit aa13b605a4

View File

@ -45,7 +45,7 @@ namespace osu.Game.Overlays.Profile.Sections.Ranks
[BackgroundDependencyLoader] [BackgroundDependencyLoader]
private void load() private void load()
{ {
float performance_background_width = performance_width + (height / 4f * MathF.Tan(performance_background_shear)); float performanceBackgroundWidth = performance_width + (height / 4f * MathF.Tan(performance_background_shear));
AddInternal(new ProfileItemContainer AddInternal(new ProfileItemContainer
{ {
@ -148,7 +148,7 @@ namespace osu.Game.Overlays.Profile.Sections.Ranks
Anchor = Anchor.TopRight, Anchor = Anchor.TopRight,
Origin = Anchor.TopRight, Origin = Anchor.TopRight,
RelativeSizeAxes = Axes.Y, RelativeSizeAxes = Axes.Y,
Width = performance_background_width, Width = performanceBackgroundWidth,
Height = 0.5f, Height = 0.5f,
Colour = colourProvider.Background4, Colour = colourProvider.Background4,
Shear = new Vector2(-performance_background_shear, 0), Shear = new Vector2(-performance_background_shear, 0),
@ -160,7 +160,7 @@ namespace osu.Game.Overlays.Profile.Sections.Ranks
Origin = Anchor.TopRight, Origin = Anchor.TopRight,
RelativeSizeAxes = Axes.Y, RelativeSizeAxes = Axes.Y,
RelativePositionAxes = Axes.Y, RelativePositionAxes = Axes.Y,
Width = performance_background_width, Width = performanceBackgroundWidth,
Height = -0.5f, Height = -0.5f,
Position = new Vector2(0, 1), Position = new Vector2(0, 1),
Colour = colourProvider.Background4, Colour = colourProvider.Background4,