mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-21 20:24:59 +00:00
enhance: only trigger UpdateSelectedChunk
if needed
This commit is contained in:
parent
5b95344453
commit
91801cff69
3 changed files with 26 additions and 15 deletions
|
@ -20,17 +20,10 @@ namespace SourceGit.ViewModels
|
|||
set => SetProperty(ref _syncScrollOffset, value);
|
||||
}
|
||||
|
||||
public Models.DiffOption Option
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
public TwoSideTextDiff(Models.TextDiff diff, TwoSideTextDiff previous = null)
|
||||
{
|
||||
File = diff.File;
|
||||
MaxLineNumber = diff.MaxLineNumber;
|
||||
Option = diff.Option;
|
||||
|
||||
foreach (var line in diff.Lines)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue