mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 00:42:55 +08:00
Recolour PreviewButton
This commit is contained in:
parent
88e79dfa78
commit
48beb9fd6d
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user