Don't use child

This commit is contained in:
Dean Herbert 2017-08-29 18:31:51 +09:00
parent 39b5b04700
commit 24a2dc3d1e
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}