Commit e93702fac06c0e1a8e3c2af000084b73aff8a2c3
Attempt window frame regression fix
Christian Bundy committed on 5/4/2018, 6:11:31 PMParent: 272acc452cd6c15cccdd2b356aa383890c48adff
Files changed
index.js | changed |
lib/window.js | changed |
index.js | ||
---|---|---|
@@ -106,9 +106,9 @@ | ||
106 | 106 | x: windowState.x, |
107 | 107 | y: windowState.y, |
108 | 108 | width: windowState.width, |
109 | 109 | height: windowState.height, |
110 | - titleBarStyle: 'hidden-inset', | |
110 | + titleBarStyle: 'hiddenInset', | |
111 | 111 | autoHideMenuBar: true, |
112 | 112 | title: 'Patchwork', |
113 | 113 | show: true, |
114 | 114 | backgroundColor: '#EEE', |
lib/window.js | ||
---|---|---|
@@ -3,10 +3,9 @@ | ||
3 | 3 | var extend = require('xtend/mutable') |
4 | 4 | |
5 | 5 | module.exports = function Window (config, path, opts) { |
6 | 6 | var window = new electron.BrowserWindow(extend({ |
7 | - show: false, | |
8 | - titleBarStyle: 'hidden' | |
7 | + show: false | |
9 | 8 | }, opts)) |
10 | 9 | |
11 | 10 | electron.ipcMain.on('ready-to-show', handleReadyToShow) |
12 | 11 |
Built with git-ssb-web