enhance: make HEAD commit badge highlight

This commit is contained in:
Gadfly 2024-08-27 14:54:28 +08:00
parent 959805d63c
commit 208dd9a5e0
No known key found for this signature in database

View file

@ -172,11 +172,8 @@ namespace SourceGit.Views
switch (decorator.Type)
{
case Models.DecoratorType.CurrentBranchHead:
item.LabelBG = headBG;
geo = this.FindResource("Icons.Check") as StreamGeometry;
break;
case Models.DecoratorType.CurrentCommitHead:
item.LabelBG = branchBG;
item.LabelBG = headBG;
geo = this.FindResource("Icons.Check") as StreamGeometry;
break;
case Models.DecoratorType.RemoteBranchHead: