mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-24 20:57:19 -08:00
Merge pull request #416 from gadfly3173/fix/head-refs-presenter
enhance: make HEAD commit badge highlight
This commit is contained in:
commit
963916219f
1 changed files with 1 additions and 4 deletions
|
@ -172,11 +172,8 @@ namespace SourceGit.Views
|
||||||
switch (decorator.Type)
|
switch (decorator.Type)
|
||||||
{
|
{
|
||||||
case Models.DecoratorType.CurrentBranchHead:
|
case Models.DecoratorType.CurrentBranchHead:
|
||||||
item.LabelBG = headBG;
|
|
||||||
geo = this.FindResource("Icons.Check") as StreamGeometry;
|
|
||||||
break;
|
|
||||||
case Models.DecoratorType.CurrentCommitHead:
|
case Models.DecoratorType.CurrentCommitHead:
|
||||||
item.LabelBG = branchBG;
|
item.LabelBG = headBG;
|
||||||
geo = this.FindResource("Icons.Check") as StreamGeometry;
|
geo = this.FindResource("Icons.Check") as StreamGeometry;
|
||||||
break;
|
break;
|
||||||
case Models.DecoratorType.RemoteBranchHead:
|
case Models.DecoratorType.RemoteBranchHead:
|
||||||
|
|
Loading…
Reference in a new issue