Skip to content

Commit

Permalink
Fix expand chevron flickering. (microsoft/microsoft-ui-xaml#3260)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kinnara committed Sep 11, 2020
1 parent 0a380bc commit 5eb6043
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions ModernWpf/Styles/TreeView.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,8 @@
FontSize="{TemplateBinding primitives:TreeViewItemHelper.GlyphSize}"
Data="{TemplateBinding primitives:TreeViewItemHelper.CollapsedPath}"
FontFamily="{DynamicResource SymbolThemeFontFamily}"
VerticalAlignment="Center" />
VerticalAlignment="Center"
IsHitTestVisible="False"/>
<local:FontIconFallback
x:Name="ExpandedGlyph"
Foreground="{TemplateBinding primitives:TreeViewItemHelper.GlyphBrush}"
Expand All @@ -100,7 +101,8 @@
FontSize="{TemplateBinding primitives:TreeViewItemHelper.GlyphSize}"
Data="{TemplateBinding primitives:TreeViewItemHelper.ExpandedPath}"
FontFamily="{DynamicResource SymbolThemeFontFamily}"
VerticalAlignment="Center" />
VerticalAlignment="Center"
IsHitTestVisible="False"/>
</Grid>
</ToggleButton>

Expand Down

0 comments on commit 5eb6043

Please sign in to comment.