mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
improvement: adding zen mode to context menu (#2734)
This commit is contained in:
parent
778e4b08af
commit
629341da4d
4 changed files with 10 additions and 0 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue