mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-22 20:54:59 +00:00
ux: re-design Views.Repository
* It's better to move the `Navigate to HEAD` button to the top-right of this page. * Icons and alignments
This commit is contained in:
parent
8d7df75241
commit
599ba01f20
5 changed files with 39 additions and 38 deletions
|
@ -5,10 +5,10 @@ namespace SourceGit.Converters
|
|||
{
|
||||
public static class BoolConverters
|
||||
{
|
||||
public static readonly FuncValueConverter<bool, double> ToCommitOpacity =
|
||||
public static readonly FuncValueConverter<bool, double> HalfIfFalse =
|
||||
new FuncValueConverter<bool, double>(x => x ? 1 : 0.5);
|
||||
|
||||
public static readonly FuncValueConverter<bool, FontWeight> ToCommitFontWeight =
|
||||
public static readonly FuncValueConverter<bool, FontWeight> BoldIfTrue =
|
||||
new FuncValueConverter<bool, FontWeight>(x => x ? FontWeight.Bold : FontWeight.Regular);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue