mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 03:25:03 +08:00
Move spinner colours to local definition for now
We don't want to start polluting the OsuColours namespace with non-UI colours.
This commit is contained in:
parent
0ddf2cb454
commit
82cf94bbff
@ -30,6 +30,9 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables
|
|||||||
|
|
||||||
private readonly TextAwesome symbol;
|
private readonly TextAwesome symbol;
|
||||||
|
|
||||||
|
private readonly Color4 baseColour = OsuColour.FromHex(@"002c3c");
|
||||||
|
private readonly Color4 fillColour = OsuColour.FromHex(@"005b7c");
|
||||||
|
|
||||||
private Color4 normalColour;
|
private Color4 normalColour;
|
||||||
private Color4 completeColour;
|
private Color4 completeColour;
|
||||||
|
|
||||||
@ -154,13 +157,13 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables
|
|||||||
[BackgroundDependencyLoader]
|
[BackgroundDependencyLoader]
|
||||||
private void load(OsuColour colours)
|
private void load(OsuColour colours)
|
||||||
{
|
{
|
||||||
normalColour = colours.SpinnerBase;
|
normalColour = baseColour;
|
||||||
|
|
||||||
background.AccentColour = normalColour;
|
background.AccentColour = normalColour;
|
||||||
|
|
||||||
completeColour = colours.YellowLight.Opacity(0.75f);
|
completeColour = colours.YellowLight.Opacity(0.75f);
|
||||||
|
|
||||||
disc.AccentColour = colours.SpinnerFill;
|
disc.AccentColour = fillColour;
|
||||||
circle.Colour = colours.BlueDark;
|
circle.Colour = colours.BlueDark;
|
||||||
glow.Colour = colours.BlueDark;
|
glow.Colour = colours.BlueDark;
|
||||||
}
|
}
|
||||||
|
@ -87,8 +87,5 @@ namespace osu.Game.Graphics
|
|||||||
public readonly Color4 RedDarker = FromHex(@"870000");
|
public readonly Color4 RedDarker = FromHex(@"870000");
|
||||||
|
|
||||||
public readonly Color4 ChatBlue = FromHex(@"17292e");
|
public readonly Color4 ChatBlue = FromHex(@"17292e");
|
||||||
|
|
||||||
public readonly Color4 SpinnerBase = FromHex(@"002c3c");
|
|
||||||
public readonly Color4 SpinnerFill = FromHex(@"005b7c");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user