ux: new commit graph decorator style (#564)

This commit is contained in:
leo
2024-10-14 21:09:03 +08:00
parent 207bcf0fbf
commit 6908216de5
7 changed files with 74 additions and 124 deletions

View File

@@ -186,6 +186,7 @@ namespace SourceGit.Models
// Margins & merge state (used by Views.Histories).
commit.IsMerged = isMerged;
commit.Margin = new Thickness(Math.Max(offsetX, maxOffsetOld) + halfWidth + 2, 0, 0, 0);
commit.Color = dotColor;
}
// Deal with curves haven't ended yet.