Tidy up colour and variable usage

This commit is contained in:
Dean Herbert
2020-07-15 19:03:59 +09:00
parent 19ab973bb9
commit 675544ec2f

View File

@ -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),
}, },
}; };