Merge pull request #1596 from dsernst/electron-4-titlebar

Fix hiddenInset (Mac) titlebar style for electron 4
This commit is contained in:
Borewit
2019-06-04 07:01:49 +02:00
committed by GitHub

View File

@@ -40,7 +40,7 @@ function init (state, options) {
minWidth: config.WINDOW_MIN_WIDTH,
show: false,
title: config.APP_WINDOW_TITLE,
titleBarStyle: 'hidden-inset', // Hide title bar (Mac)
titleBarStyle: 'hiddenInset', // Hide title bar (Mac)
useContentSize: true, // Specify web page size without OS chrome
width: initialBounds.width,
x: initialBounds.x,