aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/GlobalKeyHandler.ts
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2020-08-25 19:17:18 -0400
committerbobzel <zzzman@gmail.com>2020-08-25 19:17:18 -0400
commit6242be458d60bfc0e019286ff20ede8492cd140f (patch)
treea82ebc8d065f54780e4cebc6c76c8f62433d5fa9 /src/client/views/GlobalKeyHandler.ts
parentec89542cbd31aaff9d4f58e9e9bf045e934a8235 (diff)
fixed ink warnings. double-click turns on control point editing - esc reverts. made aliasing ink strokes possible & working.
Diffstat (limited to 'src/client/views/GlobalKeyHandler.ts')
-rw-r--r--src/client/views/GlobalKeyHandler.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/views/GlobalKeyHandler.ts b/src/client/views/GlobalKeyHandler.ts
index b29a04ea7..84b3d64fd 100644
--- a/src/client/views/GlobalKeyHandler.ts
+++ b/src/client/views/GlobalKeyHandler.ts
@@ -23,6 +23,7 @@ import { PDFMenu } from "./pdf/PDFMenu";
import { ContextMenu } from "./ContextMenu";
import { GroupManager } from "../util/GroupManager";
import { CollectionFreeFormViewChrome } from "./collections/CollectionMenu";
+import { FormatShapePane } from "./collections/collectionFreeForm/FormatShapePane";
const modifiers = ["control", "meta", "shift", "alt"];
type KeyHandler = (keycode: string, e: KeyboardEvent) => KeyControlInfo | Promise<KeyControlInfo>;
@@ -90,6 +91,7 @@ export class KeyManager {
// }
DocumentLinksButton.StartLink = undefined;
DocumentLinksButton.StartLinkView = undefined;
+ FormatShapePane.Instance._controlBtn = false;
const main = MainView.Instance;
Doc.SetSelectedTool(InkTool.None);