Fix hotkey detection

This commit is contained in:
Simon Gellis 2026-01-22 23:15:43 -05:00
parent ac9d3c51d6
commit be1133adf7
1 changed files with 1 additions and 1 deletions

View File

@ -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(_)) {