Tell NW.js to position window in center of screen
This commit is contained in:
1 file changed
+2
-1
@@ -196,7 +196,8 @@ class Packager extends EventTarget {
|
||||
window: {
|
||||
width: this.options.stageWidth,
|
||||
height: this.options.stageHeight,
|
||||
icon: icon.name
|
||||
icon: icon.name,
|
||||
position: 'center'
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user