From 8c989d77bdf020f2f34a84095ea95ac24f21bdd2 Mon Sep 17 00:00:00 2001 From: "tsrk." Date: Mon, 11 Sep 2023 16:00:46 +0200 Subject: [PATCH] revert: use `OverlayColourProvider` for B6 Refs: 293b81106261b1a3aad47d9461a8ba7f550c8b6 --- osu.Game/Graphics/OsuColour.cs | 1 - .../Overlays/Profile/Header/Components/PreviousUsernames.cs | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/osu.Game/Graphics/OsuColour.cs b/osu.Game/Graphics/OsuColour.cs index 481015de85..1b21f79c0a 100644 --- a/osu.Game/Graphics/OsuColour.cs +++ b/osu.Game/Graphics/OsuColour.cs @@ -383,7 +383,6 @@ namespace osu.Game.Graphics // Content Background public readonly Color4 B5 = Color4Extensions.FromHex(@"222a28"); - public readonly Color4 B6 = Color4Extensions.FromHex(@"1c1719"); // hsl(333,10%,10%) public readonly Color4 RedLighter = Color4Extensions.FromHex(@"ffeded"); public readonly Color4 RedLight = Color4Extensions.FromHex(@"ed7787"); diff --git a/osu.Game/Overlays/Profile/Header/Components/PreviousUsernames.cs b/osu.Game/Overlays/Profile/Header/Components/PreviousUsernames.cs index 686f6b2918..2ea175d1f0 100644 --- a/osu.Game/Overlays/Profile/Header/Components/PreviousUsernames.cs +++ b/osu.Game/Overlays/Profile/Header/Components/PreviousUsernames.cs @@ -99,9 +99,9 @@ namespace osu.Game.Overlays.Profile.Header.Components } [BackgroundDependencyLoader] - private void load(OsuColour colours) + private void load(OverlayColourProvider colours) { - background.Colour = colours.B6; + background.Colour = colours.Background6; } protected override void LoadComplete()