Skip to content

Commit 91b35af

Browse files
committed
Update Config.js
1 parent d161c7f commit 91b35af

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/boot/Config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ var ValueToColor = require('../display/color/ValueToColor');
118118
* @property {integer} [zoom=1] - The zoom value of the game canvas.
119119
* @property {number} [resolution=1] - The rendering resolution of the canvas.
120120
* @property {(HTMLElement|string)} [parent] - The DOM element that will contain the game canvas, or its `id`. If null (the default) or if the named element doesn't exist, the game canvas is inserted directly into the document body.
121+
* @property {boolean} [expandParent=true] - Is the Scale Manager allowed to adjust the CSS height property of the parent to be 100%?
121122
* @property {integer} [mode=0] - The scale mode.
122123
* @property {integer} [minWidth] - The minimum width the canvas can be scaled down to.
123124
* @property {integer} [minHeight] - The minimum height the canvas can be scaled down to.
@@ -294,7 +295,7 @@ var Config = new Class({
294295
this.scaleMode = GetValue(config, 'scaleMode', 0);
295296

296297
/**
297-
* @const {boolean} Phaser.Boot.Config#expandParent - Is the Scale Manager allowed to adjust the size of the parent container?
298+
* @const {boolean} Phaser.Boot.Config#expandParent - Is the Scale Manager allowed to adjust the CSS height property of the parent to be 100%?
298299
*/
299300
this.expandParent = GetValue(config, 'expandParent', true);
300301

0 commit comments

Comments
 (0)