From bba300b86687ac7e0019955768bc9124d0c68d15 Mon Sep 17 00:00:00 2001 From: Richard Davey Date: Fri, 21 Jul 2023 16:18:15 +0100 Subject: [PATCH] Update Config.js --- src/core/Config.js | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/src/core/Config.js b/src/core/Config.js index bef030336..5da598342 100644 --- a/src/core/Config.js +++ b/src/core/Config.js @@ -94,22 +94,12 @@ var Config = new Class({ /** * @const {number} Phaser.Core.Config#resizeInterval - How many ms should elapse before checking if the browser size has changed? */ - this.resizeInterval = GetValue( - scaleConfig, - 'resizeInterval', - 500, - config - ); + this.resizeInterval = GetValue(scaleConfig, 'resizeInterval', 500, config); /** * @const {?(HTMLElement|string)} Phaser.Core.Config#fullscreenTarget - The DOM element that will be sent into full screen mode, or its `id`. If undefined Phaser will create its own div and insert the canvas into it when entering fullscreen mode. */ - this.fullscreenTarget = GetValue( - scaleConfig, - 'fullscreenTarget', - null, - config - ); + this.fullscreenTarget = GetValue(scaleConfig, 'fullscreenTarget', null, config); /** * @const {number} Phaser.Core.Config#minWidth - The minimum width, in pixels, the canvas will scale down to. A value of zero means no minimum.