1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 10:07:36 +08:00

Recolour PreviewButton

This commit is contained in:
TheWildTree 2020-02-04 21:01:02 +01:00
parent 88e79dfa78
commit 48beb9fd6d

View File

@ -43,7 +43,6 @@ namespace osu.Game.Overlays.BeatmapSet.Buttons
background = new Box
{
RelativeSizeAxes = Axes.Both,
Colour = Color4.Black,
Alpha = 0.5f
},
new Container
@ -72,9 +71,10 @@ namespace osu.Game.Overlays.BeatmapSet.Buttons
}
[BackgroundDependencyLoader]
private void load(OsuColour colours)
private void load(OsuColour colours, OverlayColourProvider colourProvider)
{
progress.Colour = colours.Yellow;
background.Colour = colourProvider.Background6;
}
protected override void Update()