From 80eb09877f71f20248079c2cb4b191e0ce9526ed Mon Sep 17 00:00:00 2001 From: rhysd Date: Thu, 20 Apr 2017 01:30:25 +0900 Subject: [PATCH] tiny followup for a74b4f3 --- README.md | 2 ++ main/window.ts | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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: {