Browse Source

Merge pull request #8431 from AvaloniaUI/remove-DottedLineFocusAdorner

Remove perf-expensive DottedLineFocusAdorner style
pull/8440/head
Max Katz 4 years ago
committed by GitHub
parent
commit
6b814be965
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 12
      src/Avalonia.Themes.Fluent/Controls/FocusAdorner.xaml

12
src/Avalonia.Themes.Fluent/Controls/FocusAdorner.xaml

@ -19,16 +19,4 @@
</FocusAdornerTemplate>
</Setter>
</Style>
<!-- DottedLine FocusAdorner -->
<Style Selector="Window.DottedLineFocusAdorner :is(Control)">
<Setter Property="FocusAdorner">
<FocusAdornerTemplate>
<Rectangle Stroke="{StaticResource SystemControlFocusVisualPrimaryBrush}"
StrokeThickness="1"
StrokeDashArray="1,2"
Margin="1" />
</FocusAdornerTemplate>
</Setter>
</Style>
</Styles>

Loading…
Cancel
Save