Merge branch 'FixEmptyQuery' of https://github.com/onesounds/Flow.Launcher into FixEmptyQuery

This commit is contained in:
Dobin Park 2021-10-14 05:03:46 +09:00
commit b96cac44d4
2 changed files with 4 additions and 3 deletions

View file

@ -60,13 +60,14 @@ namespace Flow.Launcher.Helper
if (!ShouldIgnoreHotkeys()) if (!ShouldIgnoreHotkeys())
{ {
UpdateLastQUeryMode(); UpdateLastQUeryMode();
var overlayTask = Task.Delay(30).ContinueWith(_ => { var overlayTask = Task.Delay(50).ContinueWith(_ => {
mainViewModel.ToggleFlowLauncher(); mainViewModel.ToggleFlowLauncher();
}); });
e.Handled = true; e.Handled = true;
} }
} }
/// <summary> /// <summary>
/// Checks if Flow Launcher should ignore any hotkeys /// Checks if Flow Launcher should ignore any hotkeys
/// </summary> /// </summary>

View file

@ -177,7 +177,7 @@ namespace Flow.Launcher.ViewModel
else else
{ {
UpdateLastQUeryMode(); UpdateLastQUeryMode();
var overlayTask = Task.Delay(30).ContinueWith(_ => { var overlayTask = Task.Delay(50).ContinueWith(_ => {
MainWindowVisibility = Visibility.Collapsed; MainWindowVisibility = Visibility.Collapsed;
}); });
} }