We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 19584b7 commit 57aaf23Copy full SHA for 57aaf23
1 file changed
src/core/ScaleManager.js
@@ -1358,8 +1358,8 @@ Phaser.ScaleManager.prototype = {
1358
}
1359
else if (scaleMode === Phaser.ScaleManager.NO_SCALE)
1360
{
1361
- this.width = this.game.width;
1362
- this.height = this.game.height;
+ this.width = this.game.width / this.game.device.pixelRatio;
+ this.height = this.game.height / this.game.device.pixelRatio;
1363
1364
else if (scaleMode === Phaser.ScaleManager.USER_SCALE)
1365
0 commit comments