Skip to content

Commit f6fd6b9

Browse files
committed
Removed baseScale as not needed.
1 parent 99b5cf9 commit f6fd6b9

1 file changed

Lines changed: 1 addition & 11 deletions

File tree

src/cameras/2d/CameraManager.js

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -134,15 +134,6 @@ var CameraManager = new Class({
134134
*/
135135
this.main;
136136

137-
/**
138-
* This scale affects all cameras. It's used by the Scale Manager.
139-
*
140-
* @name Phaser.Cameras.Scene2D.CameraManager#baseScale
141-
* @type {number}
142-
* @since 3.0.0
143-
*/
144-
this.baseScale = 1;
145-
146137
scene.sys.events.once('boot', this.boot, this);
147138
scene.sys.events.on('start', this.start, this);
148139
},
@@ -598,7 +589,6 @@ var CameraManager = new Class({
598589
{
599590
var scene = this.scene;
600591
var cameras = this.cameras;
601-
var baseScale = this.baseScale;
602592
var resolution = this.systems.game.scale.resolution;
603593

604594
for (var i = 0; i < this.cameras.length; i++)
@@ -607,7 +597,7 @@ var CameraManager = new Class({
607597

608598
if (camera.visible && camera.alpha > 0)
609599
{
610-
camera.preRender(baseScale, resolution);
600+
camera.preRender(resolution);
611601

612602
renderer.render(scene, children, interpolation, camera);
613603
}

0 commit comments

Comments
 (0)