Fix copy hotkey not working (#1411)
This commit is contained in:
parent
3a86601c88
commit
6fc5eb2ae1
@ -173,8 +173,7 @@ class HotkeyHandler extends EventDispatcher {
|
||||
const hotkeyInfo = this._hotkeys.get(key);
|
||||
if (typeof hotkeyInfo !== 'undefined') {
|
||||
const eventModifiers = DocumentUtil.getActiveModifiers(e);
|
||||
const canForward = (this._forwardFrameId !== null);
|
||||
if (this._invokeHandlers(key, eventModifiers, hotkeyInfo, canForward)) {
|
||||
if (this._invokeHandlers(key, eventModifiers, hotkeyInfo, false)) {
|
||||
e.preventDefault();
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user