mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-29 16:14:59 +00:00
refactor: use bindings instead of sync manually
This commit is contained in:
parent
e432559a5e
commit
54ef9c0bf7
3 changed files with 2 additions and 14 deletions
|
@ -224,6 +224,7 @@
|
|||
<!-- Text Diff -->
|
||||
<DataTemplate DataType="m:TextDiff">
|
||||
<v:TextDiffView TextDiff="{Binding}"
|
||||
SyncScrollOffset="{Binding SyncScrollOffset, Mode=TwoWay}"
|
||||
UseSideBySideDiff="{Binding Source={x:Static vm:Preference.Instance}, Path=UseSideBySideDiff, Mode=OneWay}"/>
|
||||
</DataTemplate>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue