feature: add two color keys Color.DecoratorBranch and Color.DecoratorTag (#225)

This commit is contained in:
leo 2024-07-01 16:27:22 +08:00
parent 6dad466eef
commit fca20965f8
No known key found for this signature in database
6 changed files with 18 additions and 18 deletions

View file

@ -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 =