mirror of
https://github.com/photonstorm/phaser
synced 2024-12-18 00:53:42 +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)
|
else if (scaleMode === Phaser.ScaleManager.NO_SCALE)
|
||||||
{
|
{
|
||||||
this.width = this.game.width;
|
this.width = this.game.width / this.game.device.pixelRatio;
|
||||||
this.height = this.game.height;
|
this.height = this.game.height / this.game.device.pixelRatio;
|
||||||
}
|
}
|
||||||
else if (scaleMode === Phaser.ScaleManager.USER_SCALE)
|
else if (scaleMode === Phaser.ScaleManager.USER_SCALE)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue