Updated so it no longer always tries to run in fullscreen unless you tell it to.

This commit is contained in:
Richard Davey
2013-04-13 20:17:51 +01:00
parent 5f130324c9
commit 0541e93db4
7 changed files with 17446 additions and 4 deletions
+1 -1
View File
@@ -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();
}