mirror of
https://github.com/osukey/osukey.git
synced 2025-06-29 23:28:00 +09:00
Move bind to LoadComplete
This commit is contained in:
parent
c973739b08
commit
f44af1ad69
@ -91,6 +91,11 @@ namespace osu.Game.Graphics.UserInterface
|
|||||||
{
|
{
|
||||||
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…
x
Reference in New Issue
Block a user