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())
{
UpdateLastQUeryMode();
var overlayTask = Task.Delay(30).ContinueWith(_ => {
var overlayTask = Task.Delay(50).ContinueWith(_ => {
mainViewModel.ToggleFlowLauncher();
});
e.Handled = true;
}
}
/// <summary>
/// Checks if Flow Launcher should ignore any hotkeys
/// </summary>

View file

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