mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-23 20:47:25 -08:00
style<Histories>: font family change
This commit is contained in:
parent
db799f5c92
commit
788013817d
2 changed files with 2 additions and 5 deletions
|
@ -175,7 +175,7 @@
|
||||||
<Border x:Name="mask4MultiSelection" Background="{StaticResource Brush.BG1}">
|
<Border x:Name="mask4MultiSelection" Background="{StaticResource Brush.BG1}">
|
||||||
<StackPanel Orientation="Vertical" VerticalAlignment="Center" Opacity=".2">
|
<StackPanel Orientation="Vertical" VerticalAlignment="Center" Opacity=".2">
|
||||||
<Path Width="160" Height="160" Style="{StaticResource Style.Icon}" Data="{StaticResource Icon.Git}"/>
|
<Path Width="160" Height="160" Style="{StaticResource Style.Icon}" Data="{StaticResource Icon.Git}"/>
|
||||||
<Label x:Name="txtTotalSelected" Content="SELECT COMMIT TO VIEW DETAIL" Margin="0,16,0,0" FontSize="24" FontWeight="UltraBold" HorizontalAlignment="Center"/>
|
<Label x:Name="txtTotalSelected" Content="SELECT TO VIEW DETAIL" FontFamily="Consolas" Margin="0,16,0,0" FontSize="24" FontWeight="UltraBold" HorizontalAlignment="Center"/>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</Border>
|
</Border>
|
||||||
|
|
||||||
|
|
|
@ -280,12 +280,9 @@ namespace SourceGit.UI {
|
||||||
} else if (selected.Count == 2) {
|
} else if (selected.Count == 2) {
|
||||||
twoCommitDiff.Visibility = Visibility.Visible;
|
twoCommitDiff.Visibility = Visibility.Visible;
|
||||||
twoCommitDiff.SetData(Repo, (selected[0] as Git.Commit).ShortSHA, (selected[1] as Git.Commit).ShortSHA);
|
twoCommitDiff.SetData(Repo, (selected[0] as Git.Commit).ShortSHA, (selected[1] as Git.Commit).ShortSHA);
|
||||||
} else if (selected.Count > 2) {
|
|
||||||
mask4MultiSelection.Visibility = Visibility.Visible;
|
|
||||||
txtTotalSelected.Content = $"SELECTED {selected.Count} COMMITS";
|
|
||||||
} else {
|
} else {
|
||||||
mask4MultiSelection.Visibility = Visibility.Visible;
|
mask4MultiSelection.Visibility = Visibility.Visible;
|
||||||
txtTotalSelected.Content = $"SELECT COMMIT TO VIEW DETAIL";
|
txtTotalSelected.Content = $"SELECTED {selected.Count} COMMITS";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue