diff options
| author | bobzel <zzzman@gmail.com> | 2020-08-29 00:53:11 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2020-08-29 00:53:11 -0400 |
| commit | 7b8924d203c6367edbf7e6ffbe2e8f2e6f24b859 (patch) | |
| tree | 7870fa5d896c9026ad7042afc283820a0d89ff6e /src/client/views/GlobalKeyHandler.ts | |
| parent | 2d37a7f6402aca311499fb1d61b05cca2487475f (diff) | |
added some link follow options to link Editor. Big overhaul of dockingView to make things undoable and cleaner
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 84b3d64fd..1cbbfd67b 100644 --- a/src/client/views/GlobalKeyHandler.ts +++ b/src/client/views/GlobalKeyHandler.ts @@ -99,7 +99,7 @@ export class KeyManager { if (main.isPointerDown) { DragManager.AbortDrag(); } else { - if (CollectionDockingView.Instance.HasFullScreen()) { + if (CollectionDockingView.Instance.HasFullScreen) { CollectionDockingView.Instance.CloseFullScreen(); } else { doDeselect = !ContextMenu.Instance.closeMenu(); @@ -253,7 +253,7 @@ export class KeyManager { break; case "o": const target = SelectionManager.SelectedDocuments()[0]; - target && CollectionDockingView.Instance && CollectionDockingView.Instance.OpenFullScreen(target); + target && CollectionDockingView.OpenFullScreen(target.props.Document); break; case "r": preventDefault = false; |
