mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-22 20:54:59 +00:00
ux: new commit graph decorator style (#564)
This commit is contained in:
parent
207bcf0fbf
commit
6908216de5
7 changed files with 74 additions and 124 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue