mirror of
https://github.com/ppy/osu.git
synced 2025-02-22 04:32:55 +08:00
Adjust menu logo visualiser to use seasonal colours
This commit is contained in:
parent
180a381b6f
commit
a4bf29e98f
@ -3,12 +3,12 @@
|
|||||||
|
|
||||||
#nullable disable
|
#nullable disable
|
||||||
|
|
||||||
using osuTK.Graphics;
|
|
||||||
using osu.Game.Skinning;
|
|
||||||
using osu.Game.Online.API;
|
|
||||||
using osu.Framework.Allocation;
|
using osu.Framework.Allocation;
|
||||||
using osu.Framework.Bindables;
|
using osu.Framework.Bindables;
|
||||||
|
using osu.Game.Online.API;
|
||||||
using osu.Game.Online.API.Requests.Responses;
|
using osu.Game.Online.API.Requests.Responses;
|
||||||
|
using osu.Game.Skinning;
|
||||||
|
using osuTK.Graphics;
|
||||||
|
|
||||||
namespace osu.Game.Screens.Menu
|
namespace osu.Game.Screens.Menu
|
||||||
{
|
{
|
||||||
@ -29,7 +29,9 @@ namespace osu.Game.Screens.Menu
|
|||||||
|
|
||||||
private void updateColour()
|
private void updateColour()
|
||||||
{
|
{
|
||||||
if (user.Value?.IsSupporter ?? false)
|
if (SeasonalUI.ENABLED)
|
||||||
|
Colour = SeasonalUI.AMBIENT_COLOUR_1;
|
||||||
|
else if (user.Value?.IsSupporter ?? false)
|
||||||
Colour = skin.Value.GetConfig<GlobalSkinColours, Color4>(GlobalSkinColours.MenuGlow)?.Value ?? Color4.White;
|
Colour = skin.Value.GetConfig<GlobalSkinColours, Color4>(GlobalSkinColours.MenuGlow)?.Value ?? Color4.White;
|
||||||
else
|
else
|
||||||
Colour = Color4.White;
|
Colour = Color4.White;
|
||||||
|
Loading…
Reference in New Issue
Block a user