mirror of
https://github.com/photonstorm/phaser
synced 2025-02-17 06:28:30 +00:00
Undo #1993
This commit is contained in:
parent
92479eb03f
commit
989d53ecba
1 changed files with 2 additions and 2 deletions
|
@ -1367,8 +1367,8 @@ Phaser.ScaleManager.prototype = {
|
|||
}
|
||||
else if (scaleMode === Phaser.ScaleManager.NO_SCALE)
|
||||
{
|
||||
this.width = this.game.width / this.game.device.pixelRatio;
|
||||
this.height = this.game.height / this.game.device.pixelRatio;
|
||||
this.width = this.game.width;
|
||||
this.height = this.game.height;
|
||||
}
|
||||
else if (scaleMode === Phaser.ScaleManager.USER_SCALE)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue