Merge pull request #1596 from dsernst/electron-4-titlebar
Fix hiddenInset (Mac) titlebar style for electron 4
This commit is contained in:
@@ -40,7 +40,7 @@ function init (state, options) {
|
|||||||
minWidth: config.WINDOW_MIN_WIDTH,
|
minWidth: config.WINDOW_MIN_WIDTH,
|
||||||
show: false,
|
show: false,
|
||||||
title: config.APP_WINDOW_TITLE,
|
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
|
useContentSize: true, // Specify web page size without OS chrome
|
||||||
width: initialBounds.width,
|
width: initialBounds.width,
|
||||||
x: initialBounds.x,
|
x: initialBounds.x,
|
||||||
|
|||||||
Reference in New Issue
Block a user