diff options
author | Geireann Lindfield Roberts <60007097+geireann@users.noreply.github.com> | 2020-10-22 23:37:19 +0800 |
---|---|---|
committer | Geireann Lindfield Roberts <60007097+geireann@users.noreply.github.com> | 2020-10-22 23:37:19 +0800 |
commit | b5901af1296d63d8930afb218ff05fe57a1e4e6e (patch) | |
tree | 3853227864fde835ff1d2e855b9db8bfce3321d5 /src | |
parent | 73719c344b15cf778b2ca66c41a5e89d57d68d1a (diff) |
small fix/addition
Diffstat (limited to 'src')
-rw-r--r-- | src/client/views/nodes/PresBox.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/nodes/PresBox.tsx b/src/client/views/nodes/PresBox.tsx index d05674d69..7d29a4f41 100644 --- a/src/client/views/nodes/PresBox.tsx +++ b/src/client/views/nodes/PresBox.tsx @@ -153,6 +153,7 @@ export class PresBox extends ViewBoxBaseComponent<FieldViewProps, PresBoxSchema> updateCurrentPresentation = () => { Doc.UserDoc().activePresentation = this.rootDoc; document.addEventListener("keydown", this.keyEvents, true); + this._presKeyEventsActive = true; this.selectPres(); PresBox.Instance = this; } |