Skip to content

Commit

Permalink
feat: 移除 ScrollViewer 默认的 FocusVisualStyle
Browse files Browse the repository at this point in the history
  • Loading branch information
SlimeNull committed Jul 6, 2024
1 parent 9a3d6a1 commit 7bdeb2e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions EleCho.WpfSuite/Controls/ScrollViewerResources.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

<Style TargetType="{x:Type ws:ScrollViewer}"
BasedOn="{StaticResource {x:Type ScrollViewer}}">
<Setter Property="FocusVisualStyle" Value="{x:Null}"/>
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="{x:Type ws:ScrollViewer}">
Expand Down

0 comments on commit 7bdeb2e

Please sign in to comment.