optimize(*): move App.Launcher.GetPopupManager to App.GetPopupManager

This commit is contained in:
leo 2020-08-05 09:32:24 +08:00
parent 3c24eaa6a7
commit 5066b974a1
34 changed files with 126 additions and 133 deletions

View file

@ -29,7 +29,7 @@ namespace SourceGit.UI {
InitializeComponent();
// Move to center
var parent = App.Launcher;
var parent = App.Current.MainWindow;
Left = parent.Left + (parent.Width - Width) * 0.5;
Top = parent.Top + (parent.Height - Height) * 0.5;