Fix position set issue

This commit is contained in:
Jack251970 2025-03-16 23:19:35 +08:00
parent 49f1d79798
commit bf5591c9a8

View file

@ -65,7 +65,8 @@ namespace Flow.Launcher
_settings = settings;
InitializeComponent();
UpdatePosition(true);
InitSoundEffects();
DataObject.AddPastingHandler(QueryTextBox, QueryTextBox_OnPaste);
}
@ -97,6 +98,7 @@ namespace Flow.Launcher
}
// Hide window if need
UpdatePosition(true);
if (_settings.HideOnStartup)
{
_viewModel.Hide();