mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-10-31 13:03:20 -07:00
style<Welcome>: use monospace font for repository tree
This commit is contained in:
parent
05c9d9be5b
commit
5ac7d78796
2 changed files with 4 additions and 1 deletions
|
@ -138,6 +138,7 @@ namespace SourceGit.ViewModels {
|
|||
public async void StageChanges(List<Models.Change> changes) {
|
||||
if (_unstaged.Count == 0 || changes.Count == 0) return;
|
||||
|
||||
SetDetail(null, true);
|
||||
IsStaging = true;
|
||||
_repo.SetWatcherEnabled(false);
|
||||
if (changes.Count == _unstaged.Count) {
|
||||
|
@ -157,6 +158,7 @@ namespace SourceGit.ViewModels {
|
|||
public async void UnstageChanges(List<Models.Change> changes) {
|
||||
if (_staged.Count == 0 || changes.Count == 0) return;
|
||||
|
||||
SetDetail(null, false);
|
||||
IsUnstaging = true;
|
||||
_repo.SetWatcherEnabled(false);
|
||||
if (changes.Count == _staged.Count) {
|
||||
|
|
|
@ -133,12 +133,13 @@
|
|||
HorizontalAlignment="Left"
|
||||
IsVisible="{Binding !IsRepository}"/>
|
||||
|
||||
<TextBlock Grid.Column="1" VerticalAlignment="Center" Text="{Binding Name}"/>
|
||||
<TextBlock Grid.Column="1" VerticalAlignment="Center" Text="{Binding Name}" FontFamily="{StaticResource JetBrainsMono}"/>
|
||||
<TextBlock Grid.Column="2"
|
||||
Margin="8,0"
|
||||
HorizontalAlignment="Right" VerticalAlignment="Center"
|
||||
Foreground="{DynamicResource Brush.FG2}"
|
||||
Text="{Binding Id}"
|
||||
FontFamily="{StaticResource JetBrainsMono}"
|
||||
IsVisible="{Binding IsRepository}"/>
|
||||
</Grid>
|
||||
</TreeDataTemplate>
|
||||
|
|
Loading…
Reference in a new issue