mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-23 21:24:59 +00:00
Adding HEAD decorator markup in the Graph
This commit is contained in:
parent
8aeb7ed17c
commit
4750ad0d07
4 changed files with 15 additions and 2 deletions
|
@ -38,6 +38,9 @@ namespace SourceGit.Converters
|
|||
});
|
||||
|
||||
public static readonly FuncValueConverter<Models.DecoratorType, FontWeight> ToFontWeight =
|
||||
new FuncValueConverter<Models.DecoratorType, FontWeight>(v => v == Models.DecoratorType.CurrentBranchHead ? FontWeight.Bold : FontWeight.Regular);
|
||||
new FuncValueConverter<Models.DecoratorType, FontWeight>(v =>
|
||||
v is Models.DecoratorType.CurrentBranchHead or Models.DecoratorType.CurrentCommitHead
|
||||
? FontWeight.Bold : FontWeight.Regular
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue