mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-29 16:14:59 +00:00
code_style: run dotnet format
This commit is contained in:
parent
acf71a30b8
commit
85b83990a8
7 changed files with 18 additions and 17 deletions
|
@ -41,7 +41,7 @@ namespace SourceGit.Views
|
|||
e.Handled = true;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if (!e.Handled && e.Key != Key.Space)
|
||||
base.OnKeyDown(e);
|
||||
}
|
||||
|
@ -166,10 +166,10 @@ namespace SourceGit.Views
|
|||
{
|
||||
if (lastUnselected == -1)
|
||||
continue;
|
||||
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
lastUnselected = i;
|
||||
}
|
||||
}
|
||||
|
@ -186,10 +186,10 @@ namespace SourceGit.Views
|
|||
{
|
||||
if (lastUnselected == -1)
|
||||
continue;
|
||||
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
lastUnselected = i;
|
||||
}
|
||||
|
||||
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -117,7 +117,7 @@ namespace SourceGit.Views
|
|||
e.Handled = true;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if (!e.Handled)
|
||||
base.OnKeyDown(e);
|
||||
}
|
||||
|
|
|
@ -25,7 +25,7 @@ namespace SourceGit.Views
|
|||
e.Handled = true;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public class RepositoryListBox : ListBox
|
||||
{
|
||||
protected override Type StyleKeyOverride => typeof(ListBox);
|
||||
|
@ -40,7 +40,7 @@ namespace SourceGit.Views
|
|||
e.Handled = true;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if (!e.Handled)
|
||||
base.OnKeyDown(e);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue