From d4e1f8b779f8cb5d7aa01008aa82c104cec76913 Mon Sep 17 00:00:00 2001 From: Nicolas Constant Date: Mon, 8 Apr 2019 21:32:35 -0400 Subject: [PATCH] fix windows size cross-platform --- main-electron.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main-electron.js b/main-electron.js index b216d6eb..5a633912 100644 --- a/main-electron.js +++ b/main-electron.js @@ -10,7 +10,7 @@ let win function createWindow() { // Create the browser window. - win = new BrowserWindow({ width: 393, height: 800, title: "Sengi", backgroundColor: '#FFF' }); + win = new BrowserWindow({ width: 377, height: 800, title: "Sengi", backgroundColor: '#FFF', 'useContentSize': true }); var server = http.createServer(requestHandler).listen(9527); win.loadURL('http://localhost:9527');