Skip to content

Commit

Permalink
Merge pull request AvaloniaUI#8431 from AvaloniaUI/remove-DottedLineF…
Browse files Browse the repository at this point in the history
…ocusAdorner

Remove perf-expensive DottedLineFocusAdorner style
  • Loading branch information
maxkatz6 authored and danwalmsley committed Jul 6, 2022
1 parent b63d2cc commit 0cbcc44
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/Avalonia.Themes.Fluent/Controls/FocusAdorner.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -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>

0 comments on commit 0cbcc44

Please sign in to comment.