diff options
author | Sam Wilkins <samwilkins333@gmail.com> | 2019-12-10 20:03:07 -0500 |
---|---|---|
committer | Sam Wilkins <samwilkins333@gmail.com> | 2019-12-10 20:03:07 -0500 |
commit | c17b200f6d0cb136851b798f280aba9b3862c337 (patch) | |
tree | ff517440354dfafe650a9f6542a32e7e2d161eb3 /src/client/views/nodes/DocumentView.tsx | |
parent | 853fbfb7a76cc81c2b4f47e094be159263c88a7a (diff) | |
parent | ca70b29bbb1818764b98196f8c28a1255a17965c (diff) |
Merge branches 'master' and 'master' of https://github.com/browngraphicslab/Dash-Web
Diffstat (limited to 'src/client/views/nodes/DocumentView.tsx')
-rw-r--r-- | src/client/views/nodes/DocumentView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/DocumentView.tsx b/src/client/views/nodes/DocumentView.tsx index 9219da80b..727d631c4 100644 --- a/src/client/views/nodes/DocumentView.tsx +++ b/src/client/views/nodes/DocumentView.tsx @@ -140,7 +140,7 @@ export class DocumentView extends DocComponent<DocumentViewProps, Document>(Docu } onKeyDown = (e: React.KeyboardEvent) => { - if (e.altKey && e.key === "t" && !(e.nativeEvent as any).StopPropagationForReal) { + if (e.altKey && (e.key === "†" || e.key === "t") && !(e.nativeEvent as any).StopPropagationForReal) { (e.nativeEvent as any).StopPropagationForReal = true; // e.stopPropagation() doesn't seem to work... e.stopPropagation(); if (!StrCast(this.Document.showTitle)) this.Document.showTitle = "title"; |