mirror of
https://github.com/photonstorm/phaser
synced 2024-11-16 01:38:23 +00:00
ScaleManager: (passing jshint)
This commit is contained in:
parent
e075a735e3
commit
910627df8a
1 changed files with 1 additions and 2 deletions
|
@ -1151,9 +1151,8 @@ Phaser.ScaleManager.prototype = {
|
|||
* @method Phaser.ScaleManager#getParentBounds
|
||||
* @protected
|
||||
* @param {Phaser.Rectangle} [target=(new Rectangle)] - The rectangle to update; a new one is created as needed.
|
||||
* @param {boolean} [constrainToWindow=false] - If set then *also* constrain the bounding rectangle to the window.
|
||||
*/
|
||||
getParentBounds: function (target, constrainToWindow) {
|
||||
getParentBounds: function (target) {
|
||||
|
||||
var bounds = target || new Phaser.Rectangle();
|
||||
var parentNode = this.game.canvas && this.game.canvas.parentNode;
|
||||
|
|
Loading…
Reference in a new issue