Skip to content

Commit 75238c2

Browse files
committed
Template updates.
1 parent 84e845d commit 75238c2

2 files changed

Lines changed: 0 additions & 6 deletions

File tree

resources/Project Templates/Basic/Boot.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@ BasicGame.Boot.prototype = {
2727
this.scale.setMinMax(480, 260, 1024, 768);
2828
this.scale.forceLandscape = true;
2929
this.scale.pageAlignHorizontally = true;
30-
this.scale.setScreenSize(true);
31-
this.scale.refresh();
3230
}
3331

3432
},

resources/Project Templates/Full Screen Mobile/src/Boot.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@ BasicGame.Boot.prototype = {
2727
this.scale.setMinMax(480, 260, 1024, 768);
2828
this.scale.pageAlignHorizontally = true;
2929
this.scale.pageAlignVertically = true;
30-
this.scale.setScreenSize(true);
31-
this.scale.refresh();
3230
}
3331
else
3432
{
@@ -40,8 +38,6 @@ BasicGame.Boot.prototype = {
4038
this.scale.setResizeCallback(this.gameResized, this);
4139
this.scale.enterIncorrectOrientation.add(this.enterIncorrectOrientation, this);
4240
this.scale.leaveIncorrectOrientation.add(this.leaveIncorrectOrientation, this);
43-
this.scale.setScreenSize(true);
44-
this.scale.refresh();
4541
}
4642

4743
},

0 commit comments

Comments
 (0)