Do not shadow Colour in TwoLayerButton

Renames Colour to BackgroundColour instead.
This commit is contained in:
Thomas Müller
2017-02-23 22:33:37 +01:00
parent 9e8fb698c6
commit 0264c44a20
3 changed files with 3 additions and 3 deletions

View File

@ -22,7 +22,7 @@ namespace osu.Game.Graphics.UserInterface
private void load(AudioManager audio, OsuColour colours) private void load(AudioManager audio, OsuColour colours)
{ {
ActivationSound = audio.Sample.Get(@"Menu/menuback"); ActivationSound = audio.Sample.Get(@"Menu/menuback");
Colour = colours.Pink; BackgroundColour = colours.Pink;
HoverColour = colours.PinkDark; HoverColour = colours.PinkDark;
} }
} }

View File

@ -35,7 +35,7 @@ namespace osu.Game.Graphics.UserInterface
private Container c1; private Container c1;
private Container c2; private Container c2;
public Color4 Colour public Color4 BackgroundColour
{ {
set set
{ {

View File

@ -25,7 +25,7 @@ namespace osu.Game.Screens.Play
private void load(AudioManager audio, OsuColour colours) private void load(AudioManager audio, OsuColour colours)
{ {
ActivationSound = audio.Sample.Get(@"Menu/menuhit"); ActivationSound = audio.Sample.Get(@"Menu/menuhit");
Colour = colours.Yellow; BackgroundColour = colours.Yellow;
HoverColour = colours.YellowDark; HoverColour = colours.YellowDark;
} }