fix: Make IgnoredWhitespace toggle button visible based on IsTextDiff

This commit is contained in:
Gadfly 2025-01-27 20:13:13 +08:00
parent bbb0ceada8
commit 3e35225aac
No known key found for this signature in database

View file

@ -129,6 +129,7 @@
<ToggleButton Classes="line_path"
Width="28"
IsChecked="{Binding IgnoreWhitespace, Mode=TwoWay}"
IsVisible="{Binding IsTextDiff}"
ToolTip.Tip="{DynamicResource Text.Diff.IgnoreWhitespace}">
<Path Width="14" Height="14" Stretch="Uniform" Data="{StaticResource Icons.Whitespace}"/>
</ToggleButton>