aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/GlobalKeyHandler.ts
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2021-11-30 23:37:49 -0500
committerbobzel <zzzman@gmail.com>2021-11-30 23:37:49 -0500
commit91247d583e5e4c7205a1ed764dd0e3a12af3be25 (patch)
tree57ab31e582d1af356242c1805b7d4d27e91970ac /src/client/views/GlobalKeyHandler.ts
parentf313cfa5ae644eadb57d936bc81bd355e0c88e17 (diff)
fixed warnings/errors. added inkingStroke comments. need to double-click now to add a point to an ink stroke.
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 364bf05e2..d5e0ed962 100644
--- a/src/client/views/GlobalKeyHandler.ts
+++ b/src/client/views/GlobalKeyHandler.ts
@@ -112,7 +112,7 @@ export class KeyManager {
case "escape":
DocumentLinksButton.StartLink = undefined;
DocumentLinksButton.StartLinkView = undefined;
- InkStrokeProperties.Instance && (InkStrokeProperties.Instance._controlButton = false);
+ InkStrokeProperties.Instance._controlButton = false;
CurrentUserUtils.SelectedTool = InkTool.None;
var doDeselect = true;
if (SnappingManager.GetIsDragging()) {