From beabb0132ef2abce5df92ff08c0ff22537a3b39d Mon Sep 17 00:00:00 2001 From: Lena Morita Date: Thu, 21 Feb 2019 02:12:49 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=A4=A6=F0=9F=8F=BB=E2=80=8D=E2=99=80?= =?UTF-8?q?=EF=B8=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- desktop/app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/desktop/app.js b/desktop/app.js index 83f09c430..82906e42c 100644 --- a/desktop/app.js +++ b/desktop/app.js @@ -110,8 +110,8 @@ module.exports = function main() { }); ipcMain.on('setAutoHideMenuBar', function(event, autoHideMenuBar) { - mainWindow.autoHideMenuBar = autoHideMenuBar; - mainWindow.setMenuBarVisibility = autoHideMenuBar; + mainWindow.setAutoHideMenuBar(autoHideMenuBar); + mainWindow.setMenuBarVisibility(!autoHideMenuBar); }); mainWindowState.manage(mainWindow);