mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
Fix properties not being set leading to colours not being set
This commit is contained in:
@ -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);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user