mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 15:33:21 +08: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)
|
||||
BackgroundColour = colours.BlueDark;
|
||||
}
|
||||
|
||||
protected override void LoadComplete()
|
||||
{
|
||||
base.LoadComplete();
|
||||
|
||||
Colour = enablementColour;
|
||||
Enabled.BindValueChanged(_ => this.FadeColour(enablementColour, 200, Easing.OutQuint));
|
||||
|
Loading…
Reference in New Issue
Block a user