mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-23 13:14:59 +00:00
feature: add two color keys Color.DecoratorBranch
and Color.DecoratorTag
(#225)
This commit is contained in:
parent
6dad466eef
commit
fca20965f8
6 changed files with 18 additions and 18 deletions
|
@ -11,8 +11,8 @@ namespace SourceGit.Converters
|
|||
new FuncValueConverter<Models.DecoratorType, IBrush>(v =>
|
||||
{
|
||||
if (v == Models.DecoratorType.Tag)
|
||||
return Models.DecoratorResources.Backgrounds[0];
|
||||
return Models.DecoratorResources.Backgrounds[1];
|
||||
return Application.Current.FindResource("Brush.DecoratorTag") as IBrush;
|
||||
return Application.Current.FindResource("Brush.DecoratorBranch") as IBrush;
|
||||
});
|
||||
|
||||
public static readonly FuncValueConverter<Models.DecoratorType, StreamGeometry> ToIcon =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue