Browse Source

Merge pull request #1796 from AvaloniaUI/revert-1739-fixed/1664-menu-item-left-selected

Revert "dont highlight selected menuitems."
pull/1799/head
danwalmsley 8 years ago
committed by GitHub
parent
commit
4277cd2c85
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      src/Avalonia.Themes.Default/MenuItem.xaml

5
src/Avalonia.Themes.Default/MenuItem.xaml

@ -122,6 +122,11 @@
</Setter>
</Style>
<Style Selector="MenuItem:selected /template/ Border#root">
<Setter Property="Background" Value="{DynamicResource ThemeAccentBrush4}"/>
<Setter Property="BorderBrush" Value="{DynamicResource ThemeAccentBrush}"/>
</Style>
<Style Selector="MenuItem:pointerover /template/ Border#root">
<Setter Property="Background" Value="{DynamicResource ThemeAccentBrush4}"/>
<Setter Property="BorderBrush" Value="{DynamicResource ThemeAccentBrush}"/>

Loading…
Cancel
Save