mirror of https://github.com/ppy/osu
Don't use child
This commit is contained in:
parent
39b5b04700
commit
24a2dc3d1e
|
@ -135,7 +135,7 @@ protected override void 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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue