mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 00:40:09 +09:00
Don't use child
This commit is contained in:
@ -135,7 +135,7 @@ namespace osu.Game.Graphics.UserInterface
|
|||||||
{
|
{
|
||||||
base.UpdateForegroundColour();
|
base.UpdateForegroundColour();
|
||||||
|
|
||||||
var content = Foreground.Child as Content;
|
var content = Foreground.Children.FirstOrDefault() as Content;
|
||||||
if (content != null) content.Chevron.Alpha = IsHovered ? 1 : 0;
|
if (content != null) content.Chevron.Alpha = IsHovered ? 1 : 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user