瀏覽代碼

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

Aakansha Doshi 4 年之前
父節點
當前提交
6e767fc949
共有 1 個文件被更改,包括 1 次插入1 次删除
  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,
     };