diff --git a/README.md b/README.md index 5a6b5bf..ae9e929 100644 --- a/README.md +++ b/README.md @@ -87,6 +87,8 @@ When this value is set to `true`, the application will be launched with the menubar hidden, assuming `normal_window` is also true. When set to `false`, the menubar will be visible on launch. Default value is `false`. +On Windows, typing Alt key shows the hidden menubar. + ### `zoom_factor` Font zoom factor in application. It should be positive number. For example, `0.7` means `70%` font zooming. diff --git a/main/window.ts b/main/window.ts index ec4f8d7..55dace3 100644 --- a/main/window.ts +++ b/main/window.ts @@ -160,7 +160,7 @@ function startMenuBar(account: Account, config: Config, bar: Menubar.MenubarApp alwaysOnTop: IS_DEBUG || !!config.always_on_top, tooltip: 'Mstdn', useContentSize: true, - autoHideMenuBar: false, + autoHideMenuBar: config.hide_menu, show: false, showDockIcon: true, webPreferences: {