mirror of
https://github.com/wassname/phaser.git
synced 2026-07-17 11:31:30 +08:00
Introduced a separate stage.fullScreenScaleMode property that is used to decide scaling when fullscreen.
This commit is contained in:
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user