diff options
| author | geireann <geireann.lindfield@gmail.com> | 2023-11-09 13:21:59 -0500 |
|---|---|---|
| committer | geireann <geireann.lindfield@gmail.com> | 2023-11-09 13:21:59 -0500 |
| commit | 634e2e3264a7199fc420909da8b5ab1b98d64705 (patch) | |
| tree | 47358ab6fe05b644e0146e12962bde370f981d51 /src/client/views/GlobalKeyHandler.ts | |
| parent | 224a9162859d98a36c13eb72c4b88f38eb52e28d (diff) | |
playing with pan zoom modes.
Diffstat (limited to 'src/client/views/GlobalKeyHandler.ts')
| -rw-r--r-- | src/client/views/GlobalKeyHandler.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/GlobalKeyHandler.ts b/src/client/views/GlobalKeyHandler.ts index 7b693c8da..ec10d21e0 100644 --- a/src/client/views/GlobalKeyHandler.ts +++ b/src/client/views/GlobalKeyHandler.ts @@ -139,7 +139,7 @@ export class KeyManager { } if (doDeselect) { SelectionManager.DeselectAll(); - LightboxView.SetLightboxDoc(undefined); + LightboxView.Instance.SetLightboxDoc(undefined); } // DictationManager.Controls.stop(); GoogleAuthenticationManager.Instance.cancel(); @@ -158,7 +158,7 @@ export class KeyManager { case 'backspace': if (document.activeElement?.tagName !== 'INPUT' && document.activeElement?.tagName !== 'TEXTAREA') { if (LightboxView.LightboxDoc) { - LightboxView.SetLightboxDoc(undefined); + LightboxView.Instance.SetLightboxDoc(undefined); SelectionManager.DeselectAll(); } else DocumentDecorations.Instance.onCloseClick(true); return { stopPropagation: true, preventDefault: true }; |
