aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/GlobalKeyHandler.ts
diff options
context:
space:
mode:
authorBob Zeleznik <zzzman@gmail.com>2020-05-11 01:51:12 -0400
committerBob Zeleznik <zzzman@gmail.com>2020-05-11 01:51:12 -0400
commit56161b9541a8232fca11e69ffb1bf22864a941a1 (patch)
tree524e435c33d666e4253f50bb987cad392d722c6d /src/client/views/GlobalKeyHandler.ts
parent5726d19a615385b0bcdf1e3a944056d31074edbb (diff)
compile error fixes. fix to freeform view zooming when zoomed way out.
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 3fd14735b..1b16b15bb 100644
--- a/src/client/views/GlobalKeyHandler.ts
+++ b/src/client/views/GlobalKeyHandler.ts
@@ -265,7 +265,7 @@ export default class KeyManager {
const bds = DocumentDecorations.Instance.Bounds;
const pt = [bds.x + (bds.r - bds.x) / 2, bds.y + (bds.b - bds.y) / 2];
const text = `__DashDocId(${pt[0]},${pt[1]}):` + SelectionManager.SelectedDocuments().map(dv => dv.Document[Id]).join(":");
- SelectionManager.SelectedDocuments().length && navigator.clipboard.writeText(text);;
+ SelectionManager.SelectedDocuments().length && navigator.clipboard.writeText(text);
stopPropagation = false;
preventDefault = false;
}