mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Ignore modifier key when using key + number to launch result
- close #2191 - close #2425
This commit is contained in:
parent
f531a46225
commit
798d30ea27
1 changed files with 2 additions and 1 deletions
|
|
@ -285,7 +285,8 @@ namespace Flow.Launcher.ViewModel
|
|||
}
|
||||
var hideWindow = await result.ExecuteAsync(new ActionContext
|
||||
{
|
||||
SpecialKeyState = GlobalHotkey.CheckModifiers()
|
||||
// not null means pressing modifier key + number, should ignore the modifier key
|
||||
SpecialKeyState = index is not null ? new SpecialKeyState() : GlobalHotkey.CheckModifiers()
|
||||
})
|
||||
.ConfigureAwait(false);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue