fix<ToggleButton>: fix status icon for diff mode

This commit is contained in:
leo 2020-11-23 13:46:35 +08:00
parent e42290eef1
commit d6526e7907

View file

@ -126,12 +126,12 @@
Fill="Transparent"
Stroke="{DynamicResource Brush.FG}"
StrokeThickness=".4"
Data="{DynamicResource Icon.SplitHorizontal}"/>
Data="{DynamicResource Icon.SplitVertical}"/>
</Grid>
<ControlTemplate.Triggers>
<Trigger Property="IsChecked" Value="True">
<Setter TargetName="Icon" Property="Data" Value="{DynamicResource Icon.SplitVertical}"/>
<Setter TargetName="Icon" Property="Data" Value="{DynamicResource Icon.SplitHorizontal}"/>
</Trigger>
</ControlTemplate.Triggers>
</ControlTemplate>