diff --git a/src/input.rs b/src/input.rs index 20ed118..25b2cb5 100644 --- a/src/input.rs +++ b/src/input.rs @@ -683,7 +683,7 @@ impl ShortcutProvider { else { return true; }; - if shortcut.logical_key != *key || !shortcut.modifiers.contains(*modifiers) { + if *key != shortcut.logical_key || !modifiers.contains(shortcut.modifiers) { return true; } if matches!(command, Command::FastForward(_)) {