mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-06-24 11:54:59 +00:00
fix: Make IgnoredWhitespace toggle button visible based on IsTextDiff
This commit is contained in:
parent
bbb0ceada8
commit
3e35225aac
1 changed files with 1 additions and 0 deletions
|
@ -129,6 +129,7 @@
|
||||||
<ToggleButton Classes="line_path"
|
<ToggleButton Classes="line_path"
|
||||||
Width="28"
|
Width="28"
|
||||||
IsChecked="{Binding IgnoreWhitespace, Mode=TwoWay}"
|
IsChecked="{Binding IgnoreWhitespace, Mode=TwoWay}"
|
||||||
|
IsVisible="{Binding IsTextDiff}"
|
||||||
ToolTip.Tip="{DynamicResource Text.Diff.IgnoreWhitespace}">
|
ToolTip.Tip="{DynamicResource Text.Diff.IgnoreWhitespace}">
|
||||||
<Path Width="14" Height="14" Stretch="Uniform" Data="{StaticResource Icons.Whitespace}"/>
|
<Path Width="14" Height="14" Stretch="Uniform" Data="{StaticResource Icons.Whitespace}"/>
|
||||||
</ToggleButton>
|
</ToggleButton>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue