Fix "any" matching no modifiers

This commit is contained in:
Joscha 2023-04-28 21:27:12 +02:00
parent ff33454b9a
commit 51b1953207

View file

@ -105,7 +105,7 @@ impl KeyPress {
return false;
}
if self.any {
if self.any && !event.modifiers.is_empty() {
return true;
}