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 @@ public ProfileItemContainer()
[BackgroundDependencyLoader]
private void load(OverlayColourProvider colourProvider)
{
background.Colour = idleColour = colourProvider.Background4;
hoverColour = colourProvider.Background3;
background.Colour = idleColour = colourProvider.Background3;
hoverColour = colourProvider.Background2;
}
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.
using System.Linq;
@ -145,7 +145,7 @@ private void load()
Origin = Anchor.TopRight,
RelativeSizeAxes = Axes.Both,
Size = new Vector2(1.06f, 0.5f),
Colour = Color4.Black.Opacity(0.5f),
Colour = colourProvider.Background4,
Shear = new Vector2(-0.45f, 0),
EdgeSmoothness = new Vector2(2, 0),
},
@ -157,7 +157,7 @@ private void load()
RelativePositionAxes = Axes.Y,
Size = new Vector2(1.06f, -0.5f),
Position = new Vector2(0, 1),
Colour = Color4.Black.Opacity(0.5f),
Colour = colourProvider.Background4,
Shear = new Vector2(0.45f, 0),
EdgeSmoothness = new Vector2(2, 0),
},