mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-10-31 13:03:20 -07:00
enhance: better graph for ended orphan branch (#528)
This commit is contained in:
parent
4b5d65cdb7
commit
fbfca7b4a5
1 changed files with 5 additions and 1 deletions
|
@ -86,7 +86,11 @@ namespace SourceGit.Models
|
|||
}
|
||||
else if (x < LastX)
|
||||
{
|
||||
Add(LastX, y - halfHeight);
|
||||
var minY = y - halfHeight;
|
||||
if (minY > LastY)
|
||||
minY -= halfHeight;
|
||||
|
||||
Add(LastX, minY);
|
||||
Add(x, y);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue