refactor: use bindings instead of sync manually

This commit is contained in:
leo 2024-06-06 10:01:14 +08:00
parent e432559a5e
commit 54ef9c0bf7
No known key found for this signature in database
GPG key ID: B528468E49CD0E58
3 changed files with 2 additions and 14 deletions

View file

@ -63,8 +63,8 @@ namespace SourceGit.Models
{
public string File { get; set; } = string.Empty;
public List<TextDiffLine> Lines { get; set; } = new List<TextDiffLine>();
public Vector SyncScrollOffset { get; set; } = Vector.Zero;
public int MaxLineNumber = 0;
public Vector SyncScrollOffset = Vector.Zero;
public void GenerateNewPatchFromSelection(Change change, string fileBlobGuid, TextDiffSelection selection, bool revert, string output)
{