Fix size of the game window when exported with Electron

This commit is contained in:
Florian Rival
2019-04-25 09:44:50 +01:00
parent 9b5a6d8bf0
commit 6d92430e76

View File

@@ -14,6 +14,7 @@ function createWindow() {
mainWindow = new BrowserWindow({
width: 800 /*GDJS_WINDOW_WIDTH*/,
height: 600 /*GDJS_WINDOW_HEIGHT*/,
useContentSize: true,
title: "GDJS_GAME_NAME",
backgroundColor: '#000000'
});