code_style: run dotnet format
Some checks are pending
Continuous Integration / Build (push) Waiting to run
Continuous Integration / Prepare version string (push) Waiting to run
Continuous Integration / Package (push) Blocked by required conditions

This commit is contained in:
leo 2024-09-25 16:24:04 +08:00
parent acf71a30b8
commit 85b83990a8
No known key found for this signature in database
7 changed files with 18 additions and 17 deletions

View file

@ -43,7 +43,8 @@ namespace SourceGit.Models
{
_mode = mode;
YAxes = [new Axis() {
YAxes = [new Axis()
{
TextSize = 10,
MinLimit = 0,
SeparatorsPaint = new SolidColorPaint(new SKColor(0x40808080)) { StrokeThickness = 1 }

View file

@ -32,7 +32,7 @@ namespace SourceGit.ViewModels
{
PopupHost.Active = value;
if (!_ignoreIndexChange && value is { Data: Repository repo})
if (!_ignoreIndexChange && value is { Data: Repository repo })
ActiveWorkspace.ActiveIdx = ActiveWorkspace.Repositories.IndexOf(repo.FullPath);
}
}

View file

@ -244,7 +244,7 @@ namespace SourceGit.Views
_disableSelectionChangingEvent = true;
var selected = new List<Models.Change>();
if (sender is ListBox { SelectedItems: {} selectedItems })
if (sender is ListBox { SelectedItems: { } selectedItems })
{
foreach (var item in selectedItems)
{