mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-22 20:54:59 +00:00
enhance: better commit graph
This commit is contained in:
parent
7ee3db500a
commit
8fa19ecd0c
2 changed files with 8 additions and 3 deletions
|
@ -61,8 +61,13 @@ namespace SourceGit.Models
|
|||
}
|
||||
else if (x < LastX)
|
||||
{
|
||||
if (y > LastY + halfHeight)
|
||||
Add(new Point(LastX, LastY + halfHeight));
|
||||
var testY = LastY + halfHeight;
|
||||
if (y > testY)
|
||||
Add(new Point(LastX, testY));
|
||||
|
||||
if (!isEnd)
|
||||
y += halfHeight;
|
||||
|
||||
Add(new Point(x, y));
|
||||
}
|
||||
else if (isEnd)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue