diff options
| author | Bob Zeleznik <zzzman@gmail.com> | 2019-12-10 19:08:25 -0500 |
|---|---|---|
| committer | Bob Zeleznik <zzzman@gmail.com> | 2019-12-10 19:08:25 -0500 |
| commit | 68ad65580e5d01e4d47f2573972f908b7f403c17 (patch) | |
| tree | 2d26e260e793630c9c028e3080d6e8e696690363 /src | |
| parent | 1dbb45826d4414ed7a1acb5daff730b6e79e97c2 (diff) | |
fixed alt-t for mac
Diffstat (limited to 'src')
| -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"; |
