improvement: adding zen mode to context menu (#2734)

This commit is contained in:
Carl Sverre 2021-01-06 11:23:05 -05:00 committed by GitHub
parent 778e4b08af
commit 629341da4d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 10 additions and 0 deletions

View file

@ -3638,6 +3638,12 @@ class App extends React.Component<ExcalidrawProps, AppState> {
label: t("labels.gridMode"),
action: this.toggleGridMode,
},
{
checked: this.state.zenModeEnabled,
shortcutName: "zenMode",
label: t("buttons.zenMode"),
action: this.toggleZenMode,
},
{
checked: this.state.showStats,
shortcutName: "stats",