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

Fix properties not being set leading to colours not being set

This commit is contained in:
smoogipoo 2017-10-10 18:31:56 +09:00
parent 44141a38b8
commit 071b1b049c

View File

@ -122,10 +122,10 @@ namespace osu.Game.Graphics.UserInterface
private void load(OsuColour colours)
{
if (hoverColour == null)
hoverColour = colours.Yellow.Opacity(0.6f);
HoverColour = colours.Yellow.Opacity(0.6f);
if (flashColour == null)
flashColour = colours.Yellow;
FlashColour = colours.Yellow;
Enabled.ValueChanged += enabled => this.FadeColour(enabled ? Color4.White : colours.Gray9, 200, Easing.OutQuint);
}