Fix hotkey detection
This commit is contained in:
+1
-1
@@ -683,7 +683,7 @@ impl ShortcutProvider {
|
|||||||
else {
|
else {
|
||||||
return true;
|
return true;
|
||||||
};
|
};
|
||||||
if shortcut.logical_key != *key || !shortcut.modifiers.contains(*modifiers) {
|
if *key != shortcut.logical_key || !modifiers.contains(shortcut.modifiers) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
if matches!(command, Command::FastForward(_)) {
|
if matches!(command, Command::FastForward(_)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user