diff --git a/src/Resources/Icons.xaml b/src/Resources/Icons.xaml
index 2c230150..6b061d32 100644
--- a/src/Resources/Icons.xaml
+++ b/src/Resources/Icons.xaml
@@ -6,6 +6,8 @@
M 841.758 299.375 c 0 165.25 -134 299.375 -299.375 299.375 S 243.009 464.75 243.009 299.375 S 377.009 0 542.383 0 c 165.25 0 299.375 134 299.375 299.375 Z m 0 0 M 789.383 612.75 c -69.75 55.125 -156.25 85.625 -247.125 85.625 c -91.875 0 -179.25 -31.25 -249.25 -87.375 C 108.384 678.875 25.8838 915.75 25.8838 1024 h 1027.75 c 0 -107.25 -83.125 -342.5 -264.25 -411.25 Z m 0 0
M1024 590.432 512 193.024 0 590.432 0 428.416 512 30.976 1024 428.416ZM896 576 896 960 640 960 640 704 384 704 384 960 128 960 128 576 512 288Z
M192 0l0 1024 320-320 320 320 0-1024z
+ M512 96C282.2 96 96 282.2 96 512s186.2 416 416 416 416-186.2 416-416S741.8 96 512 96z m-8.6 608c-23.6 0-42.8-18-42.8-41.2 0-23 19.2-41.2 42.8-41.2 23.8 0 43 18 43 41.2 0 23.2-19 41.2-43 41.2z m80.4-193.8c-34.8 20.2-46.6 35-46.6 60.6v15.8h-69.4l-0.6-17.2c-3.4-41.2 11-66.8 47.2-88 33.8-20.2 48-33 48-57.8s-24-43-53.8-43c-30.2 0-52 19.6-53.6 49.2H384c1.4-64.4 49-110 129.4-110 75 0 126.6 41.6 126.6 101.4 0 39.8-19.2 67.2-56.2 89z
+ M888.832 0H135.168c-32.256 0-58.88 26.112-58.88 58.88v906.24c0 32.256 26.112 58.88 58.88 58.88h753.152c32.256 0 58.88-26.112 58.88-58.88v-906.24c0.512-32.768-26.112-58.88-58.368-58.88z m-164.864 176.64c30.72 0 55.808 25.088 55.808 55.808s-25.088 55.808-55.808 55.808-55.808-25.088-55.808-55.808 24.576-55.808 55.808-55.808z m-211.968 0c30.72 0 55.808 25.088 55.808 55.808S542.72 288.256 512 288.256s-55.808-25.088-55.808-55.808S481.28 176.64 512 176.64z m-211.968 0c30.72 0 55.808 25.088 55.808 55.808s-25.088 55.808-55.808 55.808-55.808-25.088-55.808-55.808 25.088-55.808 55.808-55.808z m208.896 606.208H285.184c-24.576 0-44.032-19.968-44.032-44.032 0-24.576 19.968-44.032 44.032-44.032h223.744c24.576 0 44.032 19.968 44.032 44.032 0 24.064-19.456 44.032-44.032 44.032z m229.888-211.968H285.184c-24.576 0-44.032-19.968-44.032-44.032 0-24.576 19.968-44.032 44.032-44.032h453.12c24.576 0 44.032 19.968 44.032 44.032 0.512 24.064-19.456 44.032-43.52 44.032z
M753.613 996.727L269.38 511.505 754.602 27.272z
M270.387 27.273L754.62 512.495 269.398 996.728z
diff --git a/src/UI/Histories.xaml b/src/UI/Histories.xaml
index 552f0bcd..7360e910 100644
--- a/src/UI/Histories.xaml
+++ b/src/UI/Histories.xaml
@@ -170,36 +170,45 @@
-
-
+
+
-
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+ Margin="0,4,0,0"
+ Orientation="Horizontal">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/UI/Histories.xaml.cs b/src/UI/Histories.xaml.cs
index 46856dc9..deaece8b 100644
--- a/src/UI/Histories.xaml.cs
+++ b/src/UI/Histories.xaml.cs
@@ -272,23 +272,24 @@ namespace SourceGit.UI {
}
private void CommitSelectChanged(object sender, SelectionChangedEventArgs e) {
- selectionCounter.Visibility = Visibility.Collapsed;
+ mask.Visibility = Visibility.Collapsed;
commitViewer.Visibility = Visibility.Collapsed;
twoCommitDiff.Visibility = Visibility.Collapsed;
- welcome.Visibility = Visibility.Collapsed;
var selected = commitList.SelectedItems;
- if (selected.Count == 0) {
- welcome.Visibility = Visibility.Visible;
- } else if (selected.Count == 1) {
+ if (selected.Count == 1) {
commitViewer.Visibility = Visibility.Visible;
commitViewer.SetData(Repo, selected[0] as Git.Commit);
} else if (selected.Count == 2) {
twoCommitDiff.Visibility = Visibility.Visible;
twoCommitDiff.SetData(Repo, (selected[0] as Git.Commit).ShortSHA, (selected[1] as Git.Commit).ShortSHA);
+ } else if (selected.Count > 2) {
+ mask.Visibility = Visibility.Visible;
+ txtCounter.Visibility = Visibility.Visible;
+ txtCounter.Content = $"SELECTED {selected.Count} COMMITS";
} else {
- selectionCounter.Visibility = Visibility.Visible;
- txtTotalSelected.Content = $"SELECTED {selected.Count} COMMITS";
+ mask.Visibility = Visibility.Visible;
+ txtCounter.Visibility = Visibility.Hidden;
}
}