diff --git a/src/Commands/QueryLocalChanges.cs b/src/Commands/QueryLocalChanges.cs index 404f5be6..4e626a79 100644 --- a/src/Commands/QueryLocalChanges.cs +++ b/src/Commands/QueryLocalChanges.cs @@ -1,7 +1,6 @@ using System; using System.Collections.Generic; using System.Text.RegularExpressions; -using Avalonia.Threading; namespace SourceGit.Commands { @@ -23,10 +22,7 @@ namespace SourceGit.Commands var outs = new List(); var rs = ReadToEnd(); if (!rs.IsSuccess) - { - Dispatcher.UIThread.Post(() => App.RaiseException(Context, rs.StdErr)); return outs; - } var lines = rs.StdOut.Split(['\r', '\n'], StringSplitOptions.RemoveEmptyEntries); foreach (var line in lines) diff --git a/src/Views/Avatar.cs b/src/Views/Avatar.cs index 87bc7ce3..9a61c99a 100644 --- a/src/Views/Avatar.cs +++ b/src/Views/Avatar.cs @@ -54,8 +54,8 @@ namespace SourceGit.Views { context.DrawRectangle(Brushes.White, new Pen(new SolidColorBrush(Colors.Black, 0.3f), 0.65f), rect, corner, corner); - var offsetX = Bounds.Width / 10.0; - var offsetY = Bounds.Height / 10.0; + var offsetX = Bounds.Width / 8.0; + var offsetY = Bounds.Height / 8.0; var stepX = (Bounds.Width - offsetX * 2) / 5.0; var stepY = (Bounds.Height - offsetY * 2) / 5.0;