fix windows size cross-platform

This commit is contained in:
Nicolas Constant 2019-04-08 21:32:35 -04:00
parent 2507ba2286
commit d4e1f8b779
No known key found for this signature in database
GPG Key ID: 1E9F677FB01A5688
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ let win
function createWindow() { function createWindow() {
// Create the browser window. // 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); var server = http.createServer(requestHandler).listen(9527);
win.loadURL('http://localhost:9527'); win.loadURL('http://localhost:9527');