Fix "any" matching no modifiers
This commit is contained in:
parent
ff33454b9a
commit
51b1953207
1 changed files with 1 additions and 1 deletions
|
|
@ -105,7 +105,7 @@ impl KeyPress {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if self.any {
|
if self.any && !event.modifiers.is_empty() {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue