aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/GlobalKeyHandler.ts
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2021-03-06 15:49:22 -0500
committerbobzel <zzzman@gmail.com>2021-03-06 15:49:22 -0500
commitea0ec26d362d6794b9020a60b55cf6c38368aef4 (patch)
tree8a364e6dc1c1a0c90258526528b0bacc009bb86e /src/client/views/GlobalKeyHandler.ts
parentb56d4f3c8774e059ed748dd4f831c1c743c7e40a (diff)
cleaned up a little bit in doc decorations.
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 14c0a18a3..6e467efd7 100644
--- a/src/client/views/GlobalKeyHandler.ts
+++ b/src/client/views/GlobalKeyHandler.ts
@@ -259,7 +259,7 @@ export class KeyManager {
const pt = SelectionManager.Views()[0].props.ScreenToLocalTransform().transformPoint(bds.x + (bds.r - bds.x) / 2, bds.y + (bds.b - bds.y) / 2);
const text = `__DashDocId(${pt?.[0] || 0},${pt?.[1] || 0}):` + SelectionManager.Views().map(dv => dv.Document[Id]).join(":");
SelectionManager.Views().length && navigator.clipboard.writeText(text);
- DocumentDecorations.Instance.onCloseClick(undefined);
+ DocumentDecorations.Instance.onCloseClick();
stopPropagation = false;
preventDefault = false;
}