mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-21 12:15:00 +00:00
style<Dashboard>: move histories layout direction button to dashboard toolbar
This commit is contained in:
parent
7c44c0a840
commit
902e28c41c
5 changed files with 27 additions and 47 deletions
|
@ -21,7 +21,7 @@ namespace SourceGit.Views.Widgets {
|
|||
this.repo = repo;
|
||||
|
||||
InitializeComponent();
|
||||
ChangeOrientation(null, null);
|
||||
ChangeOrientation();
|
||||
|
||||
Unloaded += (o, e) => {
|
||||
cachedCommits.Clear();
|
||||
|
@ -103,7 +103,7 @@ namespace SourceGit.Views.Widgets {
|
|||
#endregion
|
||||
|
||||
#region LAYOUT
|
||||
private void ChangeOrientation(object sender, RoutedEventArgs e) {
|
||||
public void ChangeOrientation() {
|
||||
if (layout == null || commitListPanel == null || inspector == null || splitter == null) return;
|
||||
|
||||
layout.RowDefinitions.Clear();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue