Adding HEAD decorator markup in the Graph

This commit is contained in:
Filipe Ramalho 2024-05-25 15:05:32 -03:00
parent 8aeb7ed17c
commit 4750ad0d07
4 changed files with 15 additions and 2 deletions

View file

@ -32,7 +32,7 @@ namespace SourceGit.Models
public bool IsCurrentHead
{
get => Decorators.Find(x => x.Type == DecoratorType.CurrentBranchHead) != null;
get => Decorators.Find(x => x.Type is DecoratorType.CurrentBranchHead or DecoratorType.CurrentCommitHead) != null;
}
public string FullMessage