mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 05:22:54 +08:00
Fix properties not being set leading to colours not being set
This commit is contained in:
parent
44141a38b8
commit
071b1b049c
@ -122,10 +122,10 @@ namespace osu.Game.Graphics.UserInterface
|
|||||||
private void load(OsuColour colours)
|
private void load(OsuColour colours)
|
||||||
{
|
{
|
||||||
if (hoverColour == null)
|
if (hoverColour == null)
|
||||||
hoverColour = colours.Yellow.Opacity(0.6f);
|
HoverColour = colours.Yellow.Opacity(0.6f);
|
||||||
|
|
||||||
if (flashColour == null)
|
if (flashColour == null)
|
||||||
flashColour = colours.Yellow;
|
FlashColour = colours.Yellow;
|
||||||
|
|
||||||
Enabled.ValueChanged += enabled => this.FadeColour(enabled ? Color4.White : colours.Gray9, 200, Easing.OutQuint);
|
Enabled.ValueChanged += enabled => this.FadeColour(enabled ? Color4.White : colours.Gray9, 200, Easing.OutQuint);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user