aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/GlobalKeyHandler.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/views/GlobalKeyHandler.ts')
-rw-r--r--src/client/views/GlobalKeyHandler.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/GlobalKeyHandler.ts b/src/client/views/GlobalKeyHandler.ts
index e3031d2c5..6120c4c9e 100644
--- a/src/client/views/GlobalKeyHandler.ts
+++ b/src/client/views/GlobalKeyHandler.ts
@@ -147,7 +147,7 @@ export class KeyManager {
LightboxView.SetLightboxDoc(undefined);
SelectionManager.DeselectAll();
}
- else DocumentDecorations.Instance.onCloseClick();
+ else DocumentDecorations.Instance.onCloseClick(true);
}, "backspace");
// const selected = SelectionManager.Views().filter(dv => !dv.topMost);
// UndoManager.RunInBatch(() => {