mirror of https://github.com/ppy/osu
Move bind to LoadComplete
This commit is contained in:
parent
c973739b08
commit
f44af1ad69
|
@ -91,6 +91,11 @@ private void load(OsuColour colours)
|
||||||
{
|
{
|
||||||
if (backgroundColour == null)
|
if (backgroundColour == null)
|
||||||
BackgroundColour = colours.BlueDark;
|
BackgroundColour = colours.BlueDark;
|
||||||
|
}
|
||||||
|
|
||||||
|
protected override void LoadComplete()
|
||||||
|
{
|
||||||
|
base.LoadComplete();
|
||||||
|
|
||||||
Colour = enablementColour;
|
Colour = enablementColour;
|
||||||
Enabled.BindValueChanged(_ => this.FadeColour(enablementColour, 200, Easing.OutQuint));
|
Enabled.BindValueChanged(_ => this.FadeColour(enablementColour, 200, Easing.OutQuint));
|
||||||
|
|
Loading…
Reference in New Issue