1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-28 04:02:57 +08:00

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]
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[]
{
highlight = new HueAnimation
{
RelativeSizeAxes = Axes.Both,
Texture = textures.Get(lazer_logo_highlight),
Colour = OsuColour.Gray(1f),
Texture = textures.Get(@"Intro/Triangles/logo-highlight"),
Colour = Color4.White,
},
background = new HueAnimation
{
RelativeSizeAxes = Axes.Both,
Texture = textures.Get(lazer_logo_background),
Texture = textures.Get(@"Intro/Triangles/logo-background"),
Colour = OsuColour.Gray(0.6f),
},
};