mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-10-31 13:03:20 -07:00
code_style: remove unused code and run dotnet format
This commit is contained in:
parent
e6f3ab5e68
commit
c1ee47a79d
4 changed files with 4 additions and 6 deletions
|
@ -255,7 +255,7 @@ namespace SourceGit.ViewModels
|
|||
if (node.IsRepository || !node.IsExpanded)
|
||||
continue;
|
||||
|
||||
MakeTreeRows(rows, node.SubNodes, depth+1);
|
||||
MakeTreeRows(rows, node.SubNodes, depth + 1);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -477,7 +477,7 @@ namespace SourceGit.Views
|
|||
|
||||
// Draw contents
|
||||
DrawCurves(context, graph, top, bottom);
|
||||
DrawAnchors(context, graph, top, bottom);
|
||||
DrawAnchors(context, graph, top, bottom);
|
||||
}
|
||||
|
||||
private void DrawCurves(DrawingContext context, Models.CommitGraph graph, double top, double bottom)
|
||||
|
@ -598,8 +598,6 @@ namespace SourceGit.Views
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
private Geometry _mergeIcon = null;
|
||||
}
|
||||
|
||||
public partial class Histories : UserControl
|
||||
|
|
|
@ -259,7 +259,7 @@ namespace SourceGit.Views
|
|||
var dialog = new ConfirmRestart();
|
||||
App.OpenDialog(dialog);
|
||||
}
|
||||
|
||||
|
||||
e.Handled = true;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -45,7 +45,7 @@ namespace SourceGit.Views
|
|||
TreeContainer.Focus(NavigationMethod.Directional);
|
||||
e.Handled = true;
|
||||
}
|
||||
else if (e.Key == Key.F &&
|
||||
else if (e.Key == Key.F &&
|
||||
((OperatingSystem.IsMacOS() && e.KeyModifiers.HasFlag(KeyModifiers.Meta)) ||
|
||||
(!OperatingSystem.IsMacOS() && e.KeyModifiers.HasFlag(KeyModifiers.Control))))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue