mirror of
https://github.com/wassname/phaser.git
synced 2026-08-15 12:45:11 +08:00
Updated so it no longer always tries to run in fullscreen unless you tell it to.
This commit is contained in:
@@ -42,7 +42,7 @@ class FullScreen {
|
||||
|
||||
public update() {
|
||||
|
||||
if (window.innerWidth !== this.width || window.innerHeight !== this.height)
|
||||
if (this._game.stage.scaleMode !== Stage.SCALE_FIXED && (window.innerWidth !== this.width || window.innerHeight !== this.height))
|
||||
{
|
||||
this.refresh();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user