diff options
author | bobzel <zzzman@gmail.com> | 2020-12-11 21:08:01 -0500 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2020-12-11 21:08:01 -0500 |
commit | 00d859f5c334fa105e3f6d572b74cb04fa9dd026 (patch) | |
tree | 54968cb294809dadcdc3ad8b47f4ebcc9f442bd0 /src/client/views/GlobalKeyHandler.ts | |
parent | f923f3a3954b9e25a94970bc161cca8ec9800cef (diff) |
more documentViewProps cleanup. fixed embedding documents into treeView / slide bullet items.
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 aa901911f..283419b82 100644 --- a/src/client/views/GlobalKeyHandler.ts +++ b/src/client/views/GlobalKeyHandler.ts @@ -86,6 +86,8 @@ export class KeyManager { private unmodified = action((keyname: string, e: KeyboardEvent) => { switch (keyname) { + case "a": SnappingManager.GetIsDragging() && (DragManager.CanEmbed = true); + break; case "u": if (document.activeElement?.tagName === "INPUT" || document.activeElement?.tagName === "TEXTAREA") { return { stopPropagation: false, preventDefault: false }; |