From 73a70d430fabf9ffd366dc15da4f998fdaebbd8a Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Mon, 17 Nov 2014 13:44:51 -0800 Subject: [PATCH] Add core.autoHideMenuBar --- src/config-schema.coffee | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/config-schema.coffee b/src/config-schema.coffee index 87589f68a..bbe27cf10 100644 --- a/src/config-schema.coffee +++ b/src/config-schema.coffee @@ -187,3 +187,9 @@ module.exports = type: 'boolean' default: process.platform isnt 'darwin' description: 'Increase/decrease the editor font size when pressing the Ctrl key and scrolling the mouse up/down.' + +if process.platform in ['win32', 'linux'] + module.exports.core.autoHideMenuBar = + type: 'boolean' + default: false + title: 'Automatically hide the menu bar. This is only supported on Linux and Windows'