Update colouring of some profile section elements

This commit is contained in:
Bartłomiej Dach
2022-12-31 20:51:29 +01:00
parent 5b1111c6b1
commit e39eb089ce
3 changed files with 6 additions and 6 deletions

View File

@ -112,8 +112,8 @@ namespace osu.Game.Overlays.Profile.Sections.Historical
[BackgroundDependencyLoader] [BackgroundDependencyLoader]
private void load(OverlayColourProvider colourProvider) private void load(OverlayColourProvider colourProvider)
{ {
IdleColour = colourProvider.Background4; IdleColour = colourProvider.Background3;
HoverColour = colourProvider.Background3; HoverColour = colourProvider.Background2;
} }
} }

View File

@ -65,8 +65,8 @@ namespace osu.Game.Overlays.Profile.Sections
[BackgroundDependencyLoader] [BackgroundDependencyLoader]
private void load(OverlayColourProvider colourProvider) private void load(OverlayColourProvider colourProvider)
{ {
IdleColour = colourProvider.Background3; IdleColour = colourProvider.Background2;
HoverColour = colourProvider.Background2; HoverColour = colourProvider.Background1;
} }
protected override bool OnHover(HoverEvent e) protected override bool OnHover(HoverEvent e)

View File

@ -160,7 +160,7 @@ namespace osu.Game.Overlays.Profile.Sections.Ranks
Origin = Anchor.TopRight, Origin = Anchor.TopRight,
RelativeSizeAxes = Axes.Both, RelativeSizeAxes = Axes.Both,
Height = 0.5f, Height = 0.5f,
Colour = colourProvider.Background4, Colour = colourProvider.Background3,
Shear = new Vector2(-performance_background_shear, 0), Shear = new Vector2(-performance_background_shear, 0),
EdgeSmoothness = new Vector2(2, 0), EdgeSmoothness = new Vector2(2, 0),
}, },
@ -172,7 +172,7 @@ namespace osu.Game.Overlays.Profile.Sections.Ranks
RelativePositionAxes = Axes.Y, RelativePositionAxes = Axes.Y,
Height = -0.5f, Height = -0.5f,
Position = new Vector2(0, 1), Position = new Vector2(0, 1),
Colour = colourProvider.Background4, Colour = colourProvider.Background3,
Shear = new Vector2(performance_background_shear, 0), Shear = new Vector2(performance_background_shear, 0),
EdgeSmoothness = new Vector2(2, 0), EdgeSmoothness = new Vector2(2, 0),
}, },