mirror of
https://github.com/photonstorm/phaser
synced 2024-11-22 20:53:39 +00:00
No scale mode, no expansion.
This commit is contained in:
parent
0b4dc5f037
commit
e423e9c387
1 changed files with 1 additions and 1 deletions
|
@ -591,7 +591,7 @@ var ScaleManager = new Class({
|
|||
this.parent = GetTarget(parent);
|
||||
this.parentIsWindow = (this.parent === document.body);
|
||||
|
||||
if (config.expandParent)
|
||||
if (config.expandParent && config.scaleMode !== CONST.SCALE_MODE.NONE)
|
||||
{
|
||||
var DOMRect = this.parent.getBoundingClientRect();
|
||||
|
||||
|
|
Loading…
Reference in a new issue