Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 507 bytes modified

beta.r3js.org
-=yb4f310 2018-03-24 19:49:48 +01:00
parent 8463433ccc
commit 8ad9adff07
1 changed files with 20 additions and 0 deletions

View File

@ -1891,6 +1891,26 @@ GameLib.Event.Subscribe(
this.displayHUD();
function maxWindow() {
window.moveTo(0, 0);
if (document.all) {
top.window.resizeTo(screen.availWidth, screen.availHeight);
}
else if (document.layers || document.getElementById) {
if (top.window.outerHeight < screen.availHeight || top.window.outerWidth < screen.availWidth) {
top.window.outerHeight = screen.availHeight;
top.window.outerWidth = screen.availWidth;
}
}
}
maxWindow();
GameLib.Event.Emit(GameLib.Event.GAME_LOADED);
//@ sourceURL=entityLoaded.js