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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
0 additions and
12 deletions
-
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> |
|
|
|
|