mirror of
https://fastgit.cc/github.com/sourcegit-scm/sourcegit
synced 2026-04-23 02:12:25 +08:00
ux: style for current branch in branch tree (#991)
Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
@@ -40,9 +40,9 @@ namespace SourceGit.ViewModels
|
||||
get => Backend is Models.Branch;
|
||||
}
|
||||
|
||||
public FontWeight NameFontWeight
|
||||
public bool IsCurrent
|
||||
{
|
||||
get => Backend is Models.Branch { IsCurrent: true } ? FontWeight.Bold : FontWeight.Regular;
|
||||
get => Backend is Models.Branch { IsCurrent: true };
|
||||
}
|
||||
|
||||
public string Tooltip
|
||||
|
||||
Reference in New Issue
Block a user