Change profile score background colour

This commit is contained in:
recapitalverb
2020-02-02 21:07:23 +07:00
parent 122fd63ac4
commit a641069ec2
2 changed files with 5 additions and 5 deletions

View File

@ -44,8 +44,8 @@ namespace osu.Game.Overlays.Profile.Sections
[BackgroundDependencyLoader] [BackgroundDependencyLoader]
private void load(OverlayColourProvider colourProvider) private void load(OverlayColourProvider colourProvider)
{ {
background.Colour = idleColour = colourProvider.Background4; background.Colour = idleColour = colourProvider.Background3;
hoverColour = colourProvider.Background3; hoverColour = colourProvider.Background2;
} }
protected override bool OnHover(HoverEvent e) protected override bool OnHover(HoverEvent e)

View File

@ -1,4 +1,4 @@
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text. // See the LICENCE file in the repository root for full licence text.
using System.Linq; using System.Linq;
@ -145,7 +145,7 @@ namespace osu.Game.Overlays.Profile.Sections.Ranks
Origin = Anchor.TopRight, Origin = Anchor.TopRight,
RelativeSizeAxes = Axes.Both, RelativeSizeAxes = Axes.Both,
Size = new Vector2(1.06f, 0.5f), Size = new Vector2(1.06f, 0.5f),
Colour = Color4.Black.Opacity(0.5f), Colour = colourProvider.Background4,
Shear = new Vector2(-0.45f, 0), Shear = new Vector2(-0.45f, 0),
EdgeSmoothness = new Vector2(2, 0), EdgeSmoothness = new Vector2(2, 0),
}, },
@ -157,7 +157,7 @@ namespace osu.Game.Overlays.Profile.Sections.Ranks
RelativePositionAxes = Axes.Y, RelativePositionAxes = Axes.Y,
Size = new Vector2(1.06f, -0.5f), Size = new Vector2(1.06f, -0.5f),
Position = new Vector2(0, 1), Position = new Vector2(0, 1),
Colour = Color4.Black.Opacity(0.5f), Colour = colourProvider.Background4,
Shear = new Vector2(0.45f, 0), Shear = new Vector2(0.45f, 0),
EdgeSmoothness = new Vector2(2, 0), EdgeSmoothness = new Vector2(2, 0),
}, },