mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-23 13:14:59 +00:00
optimize<Histories>: move graph.SetData out from UI thread
This commit is contained in:
parent
47cb708744
commit
316344939a
2 changed files with 3 additions and 3 deletions
|
@ -92,10 +92,11 @@ namespace SourceGit.Views.Widgets {
|
|||
}
|
||||
}
|
||||
|
||||
graph.SetData(visible, searching);
|
||||
|
||||
Dispatcher.Invoke(() => {
|
||||
loading.IsAnimating = false;
|
||||
loading.Visibility = Visibility.Collapsed;
|
||||
graph.SetData(visible, searching);
|
||||
commitList.ItemsSource = visible;
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue