Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Refresh layout right after load #25

Merged
merged 1 commit into from

2 participants

@davidanthoff

Previously the layout of the graph was random after one loads an existing
repo. Only when the system detected a first change would the commits be
placed nicely on the surface.

@davidanthoff davidanthoff Refresh layout right after load
Previously the layout of the graph was random after one loads an existing
repo. Only when the system detected a first change would the commits be
placed nicely on the surface.
492d477
@Haacked Haacked merged commit b6fb1b4 into Haacked:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 31, 2012
  1. @davidanthoff

    Refresh layout right after load

    davidanthoff authored
    Previously the layout of the graph was random after one loads an existing
    repo. Only when the system detected a first change would the commits be
    placed nicely on the surface.
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 0 deletions.
  1. +2 −0  SeeGitApp/ViewModels/MainWindowViewModel.cs
View
2  SeeGitApp/ViewModels/MainWindowViewModel.cs
@@ -58,6 +58,8 @@ public void MonitorRepository(string repositoryWorkingPath)
Graph = _graphBuilder.Graph();
LayoutAlgorithmType = "Tree";
+ Refresh();
+
MonitorForRepositoryChanges(gitPath);
}
Something went wrong with that request. Please try again.