diff --git a/src/SourceGit/Models/DiffResult.cs b/src/SourceGit/Models/DiffResult.cs index ecfcc97f..8919be32 100644 --- a/src/SourceGit/Models/DiffResult.cs +++ b/src/SourceGit/Models/DiffResult.cs @@ -553,6 +553,9 @@ namespace SourceGit.Models { public Bitmap Old { get; set; } = null; public Bitmap New { get; set; } = null; + + public string OldSize => Old != null ? $"{Old.PixelSize.Width} x {Old.PixelSize.Height}" : "0 x 0"; + public string NewSize => New != null ? $"{New.PixelSize.Width} x {New.PixelSize.Height}" : "0 x 0"; } public class NoOrEOLChange diff --git a/src/SourceGit/Views/DiffView.axaml b/src/SourceGit/Views/DiffView.axaml index 7e8508e0..4bb60fa3 100644 --- a/src/SourceGit/Views/DiffView.axaml +++ b/src/SourceGit/Views/DiffView.axaml @@ -111,14 +111,28 @@ - - + + + + + + + + + + + + + + + + -