Fix hotkey detection
This commit is contained in:
parent
ac9d3c51d6
commit
be1133adf7
|
|
@ -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(_)) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue