fix: change metaDisplay key to Alt for "Table of contents" (#2187)

* change `metaDisplay` key to Alt for "Table of contents"

Co-authored-by: Tom Moor <tom.moor@gmail.com>
This commit is contained in:
Dave
2021-06-13 03:07:35 +04:30
committed by GitHub
parent 25f745e7e5
commit a8e2e349e9
3 changed files with 3 additions and 3 deletions

View File

@@ -173,7 +173,7 @@ class DocumentScene extends React.Component<Props> {
this.onSave({ publish: true, done: true });
}
@keydown(`${meta}+ctrl+h`)
@keydown("ctrl+alt+h")
onToggleTableOfContents(ev) {
if (!this.props.readOnly) return;