mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-23 20:47:25 -08:00
fix: commits not marked as merged (#253)
This commit is contained in:
parent
e5462f0086
commit
67d0167278
1 changed files with 5 additions and 1 deletions
|
@ -221,13 +221,17 @@ namespace SourceGit.Models
|
|||
var parent = commit.Parents[j];
|
||||
if (mapUnsolved.TryGetValue(parent, out var value))
|
||||
{
|
||||
// Try to change the merge state of linked graph
|
||||
var l = value;
|
||||
var link = new Link();
|
||||
if (isMerged)
|
||||
l.IsMerged = true;
|
||||
|
||||
var link = new Link();
|
||||
link.Start = position;
|
||||
link.End = new Point(l.LastX, offsetY + HALF_HEIGHT);
|
||||
link.Control = new Point(link.End.X, link.Start.Y);
|
||||
link.Color = l.Path.Color;
|
||||
|
||||
temp.Links.Add(link);
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue