Fix hiddenInset (Mac) titlebar style for electron 4

This commit is contained in:
David Ernst
2019-06-03 20:47:05 -07:00
parent c204b7a82c
commit c5a21bddfd

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,