From b317dc3d30a6a2b92edda45eb55d70a0b3b8cc5d Mon Sep 17 00:00:00 2001 From: Richard Davey Date: Fri, 31 Aug 2018 18:19:25 +0100 Subject: [PATCH] Set autoResize to true for now. Fix #3928 --- src/boot/Config.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/boot/Config.js b/src/boot/Config.js index 5359b1774..673e5d50f 100644 --- a/src/boot/Config.js +++ b/src/boot/Config.js @@ -86,7 +86,7 @@ var ValueToColor = require('../display/color/ValueToColor'); * * @property {boolean} [antialias=true] - [description] * @property {boolean} [pixelArt=false] - [description] - * @property {boolean} [autoResize=false] - [description] + * @property {boolean} [autoResize=true] - Automatically resize the Game Canvas if you resize the renderer. * @property {boolean} [roundPixels=false] - [description] * @property {boolean} [transparent=false] - [description] * @property {boolean} [clearBeforeRender=true] - [description] @@ -451,9 +451,9 @@ var Config = new Class({ var renderConfig = GetValue(config, 'render', config); /** - * @const {boolean} Phaser.Boot.Config#autoResize - [description] + * @const {boolean} Phaser.Boot.Config#autoResize - Automatically resize the Game Canvas if you resize the renderer. */ - this.autoResize = GetValue(renderConfig, 'autoResize', false); + this.autoResize = GetValue(renderConfig, 'autoResize', true); /** * @const {boolean} Phaser.Boot.Config#antialias - [description]