Skip to content

Commit b317dc3

Browse files
committed
Set autoResize to true for now. Fix phaserjs#3928
1 parent 0b95ed0 commit b317dc3

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/boot/Config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ var ValueToColor = require('../display/color/ValueToColor');
8686
*
8787
* @property {boolean} [antialias=true] - [description]
8888
* @property {boolean} [pixelArt=false] - [description]
89-
* @property {boolean} [autoResize=false] - [description]
89+
* @property {boolean} [autoResize=true] - Automatically resize the Game Canvas if you resize the renderer.
9090
* @property {boolean} [roundPixels=false] - [description]
9191
* @property {boolean} [transparent=false] - [description]
9292
* @property {boolean} [clearBeforeRender=true] - [description]
@@ -451,9 +451,9 @@ var Config = new Class({
451451
var renderConfig = GetValue(config, 'render', config);
452452

453453
/**
454-
* @const {boolean} Phaser.Boot.Config#autoResize - [description]
454+
* @const {boolean} Phaser.Boot.Config#autoResize - Automatically resize the Game Canvas if you resize the renderer.
455455
*/
456-
this.autoResize = GetValue(renderConfig, 'autoResize', false);
456+
this.autoResize = GetValue(renderConfig, 'autoResize', true);
457457

458458
/**
459459
* @const {boolean} Phaser.Boot.Config#antialias - [description]

0 commit comments

Comments
 (0)