mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Adjust Delay for ondeactivated
This commit is contained in:
parent
4df1e418d7
commit
df4f94fdee
1 changed files with 1 additions and 3 deletions
|
|
@ -355,11 +355,9 @@ namespace Flow.Launcher
|
|||
|
||||
private async void OnDeactivated(object sender, EventArgs e)
|
||||
{
|
||||
// need time to initialize the main query window animation
|
||||
if (_settings.UseAnimation)
|
||||
await Task.Delay(50);
|
||||
if (_settings.HideWhenDeactive)
|
||||
{
|
||||
await Task.Delay(50);
|
||||
_viewModel.Hide();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue