Use Option+Backslash to hide/show the UI

This commit is contained in:
Aria Minaei 2021-09-05 17:48:45 +02:00
parent 400b55bf09
commit ba6f71bbac

View file

@ -43,7 +43,7 @@ export default function useKeyboardShortcuts() {
} else { } else {
return return
} }
} else if (e.code === 'Backquote' && e.altKey) { } else if (e.code === 'Backslash' && e.altKey) {
studio.transaction(({stateEditors, drafts}) => { studio.transaction(({stateEditors, drafts}) => {
stateEditors.studio.ahistoric.setVisibilityState( stateEditors.studio.ahistoric.setVisibilityState(
drafts.ahistoric.visibilityState === 'everythingIsHidden' drafts.ahistoric.visibilityState === 'everythingIsHidden'