mirror of
https://github.com/wassname/phaser.git
synced 2026-08-14 12:40:17 +08:00
Added a fix for fullscreen scaling in firefox.
This commit is contained in:
@@ -18,7 +18,7 @@ function create() {
|
||||
// Keep original size
|
||||
// game.stage.fullScreenScaleMode = Phaser.StageScaleMode.NO_SCALE;
|
||||
// Maintain aspect ratio
|
||||
game.stage.fullScreenScaleMode = Phaser.StageScaleMode.NO_SCALE;
|
||||
game.stage.fullScreenScaleMode = Phaser.StageScaleMode.SHOW_ALL;
|
||||
|
||||
game.input.onDown.add(gofull, this);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user