Skip to content

Commit bf5591c

Browse files
committed
Fix position set issue
1 parent 49f1d79 commit bf5591c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Flow.Launcher/MainWindow.xaml.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,8 @@ public MainWindow(Settings settings, MainViewModel mainVM)
6565
_settings = settings;
6666

6767
InitializeComponent();
68-
68+
UpdatePosition(true);
69+
6970
InitSoundEffects();
7071
DataObject.AddPastingHandler(QueryTextBox, QueryTextBox_OnPaste);
7172
}
@@ -97,6 +98,7 @@ private async void OnLoaded(object sender, RoutedEventArgs _)
9798
}
9899

99100
// Hide window if need
101+
UpdatePosition(true);
100102
if (_settings.HideOnStartup)
101103
{
102104
_viewModel.Hide();

0 commit comments

Comments
 (0)