change background to background 5

This commit is contained in:
Gagah Pangeran Rosfatiputra 2021-09-10 11:00:55 +07:00
parent 8acf82944f
commit e636692596
No known key found for this signature in database
GPG Key ID: 25F6F17FD29031E2

View File

@ -28,6 +28,7 @@ namespace osu.Game.Overlays.Changelog
private readonly FillFlowContainer textContainer; private readonly FillFlowContainer textContainer;
private readonly Container imageContainer; private readonly Container imageContainer;
private readonly Box background;
public ChangelogSupporterPromo() public ChangelogSupporterPromo()
{ {
@ -56,10 +57,9 @@ namespace osu.Game.Overlays.Changelog
}, },
Children = new Drawable[] Children = new Drawable[]
{ {
new Box background = new Box
{ {
RelativeSizeAxes = Axes.Both, RelativeSizeAxes = Axes.Both,
Colour = Color4Extensions.FromHex("#222027"),
}, },
new Container new Container
{ {
@ -92,8 +92,10 @@ namespace osu.Game.Overlays.Changelog
} }
[BackgroundDependencyLoader] [BackgroundDependencyLoader]
private void load(OsuColour colour, TextureStore textures) private void load(OsuColour colour, TextureStore textures, OverlayColourProvider colourProvider)
{ {
background.Colour = colourProvider.Background5;
SupporterPromoLinkFlowContainer supportLinkText; SupporterPromoLinkFlowContainer supportLinkText;
textContainer.Children = new Drawable[] textContainer.Children = new Drawable[]
{ {