Explorar o código

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

Aakansha Doshi %!s(int64=4) %!d(string=hai) anos
pai
achega
6e767fc949
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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,
     };