Introduced a separate stage.fullScreenScaleMode property that is used to decide scaling when fullscreen.

This commit is contained in:
John
2013-12-05 01:00:36 +00:00
parent c5c754725a
commit b978a2b73b
3 changed files with 46 additions and 11 deletions
+5
View File
@@ -52,6 +52,11 @@ Phaser.Stage = function (game, width, height) {
*/
this.scaleMode = Phaser.StageScaleMode.NO_SCALE;
/*
* @property {number} fullScreenScaleMode - Scale mode to be used in fullScreen
*/
this.fullScreenScaleMode = Phaser.StageScaleMode.NO_SCALE;
/**
* @property {Phaser.StageScaleMode} scale - The scale of the current running game.
*/