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" Fill="Transparent"
Stroke="{DynamicResource Brush.FG}" Stroke="{DynamicResource Brush.FG}"
StrokeThickness=".4" StrokeThickness=".4"
Data="{DynamicResource Icon.SplitHorizontal}"/> Data="{DynamicResource Icon.SplitVertical}"/>
</Grid> </Grid>
<ControlTemplate.Triggers> <ControlTemplate.Triggers>
<Trigger Property="IsChecked" Value="True"> <Trigger Property="IsChecked" Value="True">
<Setter TargetName="Icon" Property="Data" Value="{DynamicResource Icon.SplitVertical}"/> <Setter TargetName="Icon" Property="Data" Value="{DynamicResource Icon.SplitHorizontal}"/>
</Trigger> </Trigger>
</ControlTemplate.Triggers> </ControlTemplate.Triggers>
</ControlTemplate> </ControlTemplate>