mirror of
https://github.com/photonstorm/phaser
synced 2024-11-17 02:08:40 +00:00
Removed the resize method.
This commit is contained in:
parent
de5fed7d80
commit
c34648bbce
1 changed files with 0 additions and 20 deletions
|
@ -560,26 +560,6 @@ var SceneManager = new Class({
|
|||
}
|
||||
},
|
||||
|
||||
/**
|
||||
* Informs the Scenes of the Game being resized.
|
||||
*
|
||||
* @method Phaser.Scenes.SceneManager#resize
|
||||
* @since 3.2.0
|
||||
*
|
||||
* @param {number} width - The new width of the game.
|
||||
* @param {number} height - The new height of the game.
|
||||
*/
|
||||
resize: function (width, height)
|
||||
{
|
||||
// Loop through the scenes in forward order
|
||||
for (var i = 0; i < this.scenes.length; i++)
|
||||
{
|
||||
var sys = this.scenes[i].sys;
|
||||
|
||||
sys.resize(width, height);
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
* Renders the Scenes.
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue