From 9031b2ffeedf970cfd82b7b3540b8f853738ac69 Mon Sep 17 00:00:00 2001 From: Hongtao Zhang Date: Sat, 21 Sep 2024 12:51:59 -0500 Subject: [PATCH] reset position twice according to https://github.com/microsoft/PowerToys/pull/33784 --- Flow.Launcher/MainWindow.xaml.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Flow.Launcher/MainWindow.xaml.cs b/Flow.Launcher/MainWindow.xaml.cs index 60048d070..8f5d3225a 100644 --- a/Flow.Launcher/MainWindow.xaml.cs +++ b/Flow.Launcher/MainWindow.xaml.cs @@ -59,6 +59,7 @@ namespace Flow.Launcher InitializeComponent(); InitializePosition(); + InitializePosition(); InitSoundEffects(); @@ -187,6 +188,7 @@ namespace Flow.Launcher WindowsInteropHelper.DisableControlBox(this); InitProgressbarAnimation(); InitializePosition(); + InitializePosition(); PreviewReset(); // since the default main window visibility is visible // so we need set focus during startup @@ -642,6 +644,7 @@ namespace Flow.Launcher if (_animating) return; InitializePosition(); + InitializePosition(); } private void OnLocationChanged(object sender, EventArgs e)