diff options
author | Bob Zeleznik <zzzman@gmail.com> | 2019-09-29 22:51:21 -0400 |
---|---|---|
committer | Bob Zeleznik <zzzman@gmail.com> | 2019-09-29 22:51:21 -0400 |
commit | 4643ee692e8d1913918a104e576eb71fb20f7130 (patch) | |
tree | 6171fcad1f78844cf97f4ed4da7f1472022a49f4 /src/client/views/GlobalKeyHandler.ts | |
parent | 0ae9a7f6acbdf6ecade8d349981e8d6badef7ff9 (diff) | |
parent | 70a46647b00849ece22a172aeaa886eb02e94706 (diff) |
fixed pdf uploading. merged.
Diffstat (limited to 'src/client/views/GlobalKeyHandler.ts')
-rw-r--r-- | src/client/views/GlobalKeyHandler.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/views/GlobalKeyHandler.ts b/src/client/views/GlobalKeyHandler.ts index 2fa03e969..c519991a5 100644 --- a/src/client/views/GlobalKeyHandler.ts +++ b/src/client/views/GlobalKeyHandler.ts @@ -6,6 +6,7 @@ import { DragManager } from "../util/DragManager"; import { action, runInAction } from "mobx"; import { Doc } from "../../new_fields/Doc"; import { DictationManager } from "../util/DictationManager"; +import SharingManager from "../util/SharingManager"; const modifiers = ["control", "meta", "shift", "alt"]; type KeyHandler = (keycode: string, e: KeyboardEvent) => KeyControlInfo | Promise<KeyControlInfo>; @@ -72,6 +73,7 @@ export default class KeyManager { main.toggleColorPicker(true); SelectionManager.DeselectAll(); DictationManager.Controls.stop(); + SharingManager.Instance.close(); break; case "delete": case "backspace": |