mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-23 21:24:59 +00:00
Merge pull request #147 from filipeRmlh/feature/allowing_to_checkout_commit
Feature/allowing to checkout commit
This commit is contained in:
commit
e00bc4e630
15 changed files with 225 additions and 9 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