mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 04:02:59 +08:00
Change profile score background colour
This commit is contained in:
parent
122fd63ac4
commit
a641069ec2
@ -44,8 +44,8 @@ namespace osu.Game.Overlays.Profile.Sections
|
||||
[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)
|
||||
|
@ -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 @@ namespace osu.Game.Overlays.Profile.Sections.Ranks
|
||||
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 @@ namespace osu.Game.Overlays.Profile.Sections.Ranks
|
||||
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),
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user