diff --git a/Flow.Launcher/SettingWindow.xaml.cs b/Flow.Launcher/SettingWindow.xaml.cs index 8144c8ff8..1a75a853b 100644 --- a/Flow.Launcher/SettingWindow.xaml.cs +++ b/Flow.Launcher/SettingWindow.xaml.cs @@ -446,16 +446,16 @@ namespace Flow.Launcher public void InitializePosition() { - if (settings.SettingWindowTop >= 0 && settings.SettingWindowLeft >= 0) - { - Top = settings.SettingWindowTop; - Left = settings.SettingWindowLeft; - } - else + if (settings.SettingWindowTop == null) { Top = WindowTop(); Left = WindowLeft(); } + else + { + Top = settings.SettingWindowTop; + Left = settings.SettingWindowLeft; + } WindowState = settings.SettingWindowState; }