fix(Graph): end path for tree has no parent commits

This commit is contained in:
leo 2020-07-24 09:36:07 +08:00
parent 515d28918d
commit 1896ae1daf

View file

@ -186,6 +186,7 @@ namespace SourceGit.Helpers {
if (!currentMap.ContainsKey(major.Next)) currentMap.Add(major.Next, major); if (!currentMap.ContainsKey(major.Next)) currentMap.Add(major.Next, major);
} else { } else {
major.Next = "ENDED"; major.Next = "ENDED";
ended.Add(l);
} }
major.AddPoint(offsetX, offsetY); major.AddPoint(offsetX, offsetY);