Browse Source

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

dont highlight selected menuitems.
pull/1741/head
Jumar Macato 8 years ago
committed by GitHub
parent
commit
a5dc65deb8
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,11 +122,6 @@
</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