Merge pull request #1993 from nickryall/retina-fullscreen

Fix for fullscreen retina ( Desktop )
This commit is contained in:
Richard Davey 2016-02-04 18:31:50 +02:00
commit 1ac287f9d3

View file

@ -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)
{