mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 20:22:55 +08:00
Don't use child
This commit is contained in:
parent
39b5b04700
commit
24a2dc3d1e
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user