mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
Tidy up colour and variable usage
This commit is contained in:
@ -283,21 +283,18 @@ namespace osu.Game.Screens.Menu
|
|||||||
[BackgroundDependencyLoader]
|
[BackgroundDependencyLoader]
|
||||||
private void load(TextureStore textures)
|
private void load(TextureStore textures)
|
||||||
{
|
{
|
||||||
const string lazer_logo_background = @"Intro/Triangles/logo-background";
|
|
||||||
const string lazer_logo_highlight = @"Intro/Triangles/logo-highlight";
|
|
||||||
|
|
||||||
InternalChildren = new Drawable[]
|
InternalChildren = new Drawable[]
|
||||||
{
|
{
|
||||||
highlight = new HueAnimation
|
highlight = new HueAnimation
|
||||||
{
|
{
|
||||||
RelativeSizeAxes = Axes.Both,
|
RelativeSizeAxes = Axes.Both,
|
||||||
Texture = textures.Get(lazer_logo_highlight),
|
Texture = textures.Get(@"Intro/Triangles/logo-highlight"),
|
||||||
Colour = OsuColour.Gray(1f),
|
Colour = Color4.White,
|
||||||
},
|
},
|
||||||
background = new HueAnimation
|
background = new HueAnimation
|
||||||
{
|
{
|
||||||
RelativeSizeAxes = Axes.Both,
|
RelativeSizeAxes = Axes.Both,
|
||||||
Texture = textures.Get(lazer_logo_background),
|
Texture = textures.Get(@"Intro/Triangles/logo-background"),
|
||||||
Colour = OsuColour.Gray(0.6f),
|
Colour = OsuColour.Gray(0.6f),
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user