Skip to content

Commit b96cac4

Browse files
committed
Merge branch 'FixEmptyQuery' of https://github.com/onesounds/Flow.Launcher into FixEmptyQuery
2 parents 60064ea + 5102846 commit b96cac4

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

Flow.Launcher/Helper/HotKeyMapper.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,14 @@ internal static void OnHotkey(object sender, HotkeyEventArgs e)
6060
if (!ShouldIgnoreHotkeys())
6161
{
6262
UpdateLastQUeryMode();
63-
var overlayTask = Task.Delay(30).ContinueWith(_ => {
63+
var overlayTask = Task.Delay(50).ContinueWith(_ => {
6464
mainViewModel.ToggleFlowLauncher();
6565
});
6666
e.Handled = true;
6767
}
6868
}
6969

70+
7071
/// <summary>
7172
/// Checks if Flow Launcher should ignore any hotkeys
7273
/// </summary>

Flow.Launcher/ViewModel/MainViewModel.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ private void InitializeKeyCommands()
177177
else
178178
{
179179
UpdateLastQUeryMode();
180-
var overlayTask = Task.Delay(30).ContinueWith(_ => {
180+
var overlayTask = Task.Delay(50).ContinueWith(_ => {
181181
MainWindowVisibility = Visibility.Collapsed;
182182
});
183183
}
@@ -691,7 +691,7 @@ internal void ToggleFlowLauncher()
691691
}
692692
else
693693
{
694-
MainWindowVisibility = Visibility.Collapsed;
694+
MainWindowVisibility = Visibility.Collapsed;
695695
}
696696
}
697697

0 commit comments

Comments
 (0)