mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-21 12:15:00 +00:00
feature: show image size change for Models.ImageDiff
This commit is contained in:
parent
223467480f
commit
582a283ad5
2 changed files with 20 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue