Parcourir la source

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

Aakansha Doshi il y a 4 ans
Parent
commit
6e767fc949
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/actions/actionMenu.tsx

+ 1 - 1
src/actions/actionMenu.tsx

@@ -74,7 +74,7 @@ export const actionShortcuts = register({
     return {
       appState: {
         ...appState,
-        showHelpDialog: true,
+        showHelpDialog: !appState.showHelpDialog,
       },
       commitToHistory: false,
     };