mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-24 20:57:19 -08: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)
|
else if (x < LastX)
|
||||||
{
|
{
|
||||||
Add(LastX, y - halfHeight);
|
var minY = y - halfHeight;
|
||||||
|
if (minY > LastY)
|
||||||
|
minY -= halfHeight;
|
||||||
|
|
||||||
|
Add(LastX, minY);
|
||||||
Add(x, y);
|
Add(x, y);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue