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

@@ -83,7 +83,7 @@ function DocumentHeader({
const toc = (
<Tooltip
tooltip={ui.tocVisible ? t("Hide contents") : t("Show contents")}
shortcut={`ctrl+${metaDisplay}+h`}
shortcut="ctrl+alt+h"
delay={250}
placement="bottom"
>