Browse Source

Correctly updated menu item style.

pull/58/head
Steven Kirk 12 years ago
parent
commit
5dc0b0baf6
  1. 2
      Perspex.Themes.Default/MenuItemStyle.cs

2
Perspex.Themes.Default/MenuItemStyle.cs

@ -52,7 +52,7 @@ namespace Perspex.Themes.Default
new Setter(Path.IsVisibleProperty, false),
},
},
new Style(x => x.OfType<MenuItem>().PropertyEquals(MenuItem.IsSubMenuOpenProperty, true).Template().Name("root"))
new Style(x => x.OfType<Menu>().Child().OfType<MenuItem>().PropertyEquals(MenuItem.IsSubMenuOpenProperty, true).Template().Name("root"))
{
Setters = new[]
{

Loading…
Cancel
Save