diff options
| author | bobzel <zzzman@gmail.com> | 2021-02-10 17:10:23 -0500 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2021-02-10 17:10:23 -0500 |
| commit | 01081a8d2064127bfeccbd52dfaae10728123b9f (patch) | |
| tree | 5058b0917231605153f73f00a300157d59ecdb1f /src/client/views/GlobalKeyHandler.ts | |
| parent | 0f560a9032076d1ed096740e04a54d484ee0aaf6 (diff) | |
fixed escaping menu to not close lightbox. fixed formattedTextBox dragging of sidebar to not scroll. fixed css width of formattedTextBox text area
Diffstat (limited to 'src/client/views/GlobalKeyHandler.ts')
| -rw-r--r-- | src/client/views/GlobalKeyHandler.ts | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/client/views/GlobalKeyHandler.ts b/src/client/views/GlobalKeyHandler.ts index e70dea0f6..09b95315c 100644 --- a/src/client/views/GlobalKeyHandler.ts +++ b/src/client/views/GlobalKeyHandler.ts @@ -115,7 +115,6 @@ export class KeyManager { DocumentLinksButton.StartLink = undefined; DocumentLinksButton.StartLinkView = undefined; InkStrokeProperties.Instance && (InkStrokeProperties.Instance._controlBtn = false); - LightboxView.LightboxDoc = undefined; Doc.SetSelectedTool(InkTool.None); var doDeselect = true; @@ -129,7 +128,10 @@ export class KeyManager { } else { doDeselect = !ContextMenu.Instance.closeMenu(); } - doDeselect && SelectionManager.DeselectAll(); + if (doDeselect) { + SelectionManager.DeselectAll(); + LightboxView.LightboxDoc = undefined; + } DictationManager.Controls.stop(); GoogleAuthenticationManager.Instance.cancel(); SharingManager.Instance.close(); |
