diff options
| author | ab <abdullah_ahmed@brown.edu> | 2019-09-16 14:39:44 -0400 |
|---|---|---|
| committer | ab <abdullah_ahmed@brown.edu> | 2019-09-16 14:39:44 -0400 |
| commit | af59d641022119e25402f1f13ae2c3f3eb4c20a2 (patch) | |
| tree | 2b1309f8c5f970a8a19b83885a8f3aff65542d22 /src/client/views/GlobalKeyHandler.ts | |
| parent | f8eabfdbf30e13bc792ddf321d15e325c9da4944 (diff) | |
initial commit
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 d0464bd5f..4135afcb8 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 { RecommendationsBox } from "./Recommendations"; 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(); + // RecommendationsBox.Instance.closeMenu(); break; case "delete": case "backspace": |
