Skip to content

Virtual whiteboard for sketching hand-drawn like diagrams

fix(actionmenu): toggle help dialog when "shift+?" is pressed (#2828)

Aakansha Doshi6e767fc9491b
diff --git a/src/actions/actionMenu.tsx b/src/actions/actionMenu.tsx
index c56999d78c..8cfae39814 100644
--- a/src/actions/actionMenu.tsx
+++ b/src/actions/actionMenu.tsx
@@ -74,7 +74,7 @@ export const actionShortcuts = register({
return {
appState: {
...appState,
- showHelpDialog: true,
+ showHelpDialog: !appState.showHelpDialog,
},
commitToHistory: false,
};