aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBob Zeleznik <zzzman@gmail.com>2020-03-11 23:07:04 -0400
committerBob Zeleznik <zzzman@gmail.com>2020-03-11 23:07:04 -0400
commit43d599d450343f3647491eaa6762a2e820740da0 (patch)
tree67429ec115e704b936ccdd95b6c561dae6b13424 /src
parentdafd2ce66e28e91408c76712fdc5710a835aa388 (diff)
removed dictation trigger with ~ -- not being used and interferes with typing ~
Diffstat (limited to 'src')
-rw-r--r--src/client/views/GlobalKeyHandler.ts9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/client/views/GlobalKeyHandler.ts b/src/client/views/GlobalKeyHandler.ts
index af7675119..b59ee7a87 100644
--- a/src/client/views/GlobalKeyHandler.ts
+++ b/src/client/views/GlobalKeyHandler.ts
@@ -6,7 +6,6 @@ import { DragManager } from "../util/DragManager";
import { action, runInAction } from "mobx";
import { Doc } from "../../new_fields/Doc";
import { DictationManager } from "../util/DictationManager";
-import { RecommendationsBox } from "./RecommendationsBox";
import SharingManager from "../util/SharingManager";
import { CurrentUserUtils } from "../../server/authentication/models/current_user_utils";
import { Cast, PromiseValue } from "../../new_fields/Types";
@@ -111,10 +110,10 @@ export default class KeyManager {
let preventDefault = false;
switch (keyname) {
- case "~":
- DictationManager.Controls.listen({ useOverlay: true, tryExecute: true });
- stopPropagation = true;
- preventDefault = true;
+ // case "~":
+ // DictationManager.Controls.listen({ useOverlay: true, tryExecute: true });
+ // stopPropagation = true;
+ // preventDefault = true;
}
return {