From 071b1b049cebedee6844a97d37cf7e150c6a5989 Mon Sep 17 00:00:00 2001 From: smoogipoo Date: Tue, 10 Oct 2017 18:31:56 +0900 Subject: [PATCH] Fix properties not being set leading to colours not being set --- osu.Game/Graphics/UserInterface/IconButton.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/osu.Game/Graphics/UserInterface/IconButton.cs b/osu.Game/Graphics/UserInterface/IconButton.cs index 099423938a..d58f5797a3 100644 --- a/osu.Game/Graphics/UserInterface/IconButton.cs +++ b/osu.Game/Graphics/UserInterface/IconButton.cs @@ -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); }