Electron tweak

This commit is contained in:
Joshua Granick
2018-08-08 11:36:39 -07:00
parent b49f9420f5
commit 381f18a791
3 changed files with 18 additions and 9 deletions

View File

@@ -42,8 +42,8 @@ class ElectronSetup {
var window:OpenFLWindow = windows[i];
var width:Int = window.width;
var height:Int = window.height;
if (width < 1200) width = 1200;
if (height < 800) height = 800;
if (width == 0) width = 800;
if (height == 0) height = 600;
var frame:Bool = window.borderless == false;
electron.main.App.on( 'ready', function(e) {