Added missing autoResize property to Game.Config

This commit is contained in:
Richard Davey 2018-02-28 17:17:37 +00:00
parent cc3a6964dd
commit c9d3c1a279

View file

@ -75,6 +75,7 @@ var ValueToColor = require('../display/color/ValueToColor');
* @property {array} [banner.background] - [description]
* @property {FPSConfig} [?fps] - [description]
* @property {boolean} [pixelArt=false] - [description]
* @property {boolean} [autoResize=false] - [description]
* @property {boolean} [roundPixels=false] - [description]
* @property {boolean} [transparent=false] - [description]
* @property {boolean} [clearBeforeRender=true] - [description]
@ -181,6 +182,7 @@ var Config = new Class({
this.fps = GetValue(config, 'fps', null);
this.pixelArt = GetValue(config, 'pixelArt', false);
this.autoResize = GetValue(config, 'autoResize', false);
this.roundPixels = GetValue(config, 'roundPixels', false);
this.transparent = GetValue(config, 'transparent', false);
this.clearBeforeRender = GetValue(config, 'clearBeforeRender', true);