mirror of
https://github.com/photonstorm/phaser
synced 2024-11-23 21:24:09 +00:00
Merge pull request #1993 from nickryall/retina-fullscreen
Fix for fullscreen retina ( Desktop )
This commit is contained in:
commit
1ac287f9d3
1 changed files with 2 additions and 2 deletions
|
@ -1364,8 +1364,8 @@ Phaser.ScaleManager.prototype = {
|
|||
}
|
||||
else if (scaleMode === Phaser.ScaleManager.NO_SCALE)
|
||||
{
|
||||
this.width = this.game.width;
|
||||
this.height = this.game.height;
|
||||
this.width = this.game.width / this.game.device.pixelRatio;
|
||||
this.height = this.game.height / this.game.device.pixelRatio;
|
||||
}
|
||||
else if (scaleMode === Phaser.ScaleManager.USER_SCALE)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue