1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-13 17:13:06 +08:00

Move bind to LoadComplete

This commit is contained in:
Dan Balasescu 2021-12-24 17:00:57 +09:00
parent c973739b08
commit f44af1ad69

View File

@ -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));