resize event to render system
parent
c4d70e8795
commit
cc9bdae317
File diff suppressed because one or more lines are too long
|
@ -1,5 +1,5 @@
|
||||||
// COMPILE TIME DEFINITIONS (Generated via gulp)
|
// COMPILE TIME DEFINITIONS (Generated via gulp)
|
||||||
var __DATE__ = "Tue Dec 12 2017 11:35:24 GMT+0100 (CET)";
|
var __DATE__ = "Tue Dec 12 2017 11:44:47 GMT+0100 (CET)";
|
||||||
// END COMPILE TIME DEFINITIONS
|
// END COMPILE TIME DEFINITIONS
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -32084,6 +32084,14 @@ GameLib.System.Render.prototype.start = function() {
|
||||||
false
|
false
|
||||||
);
|
);
|
||||||
|
|
||||||
|
GameLib.Event.Emit(
|
||||||
|
GameLib.Event.WINDOW_RESIZE,
|
||||||
|
{
|
||||||
|
width : window.innerWidth,
|
||||||
|
height : window.innerHeight
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
this.run();
|
this.run();
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
|
@ -64,6 +64,14 @@ GameLib.System.Render.prototype.start = function() {
|
||||||
false
|
false
|
||||||
);
|
);
|
||||||
|
|
||||||
|
GameLib.Event.Emit(
|
||||||
|
GameLib.Event.WINDOW_RESIZE,
|
||||||
|
{
|
||||||
|
width : window.innerWidth,
|
||||||
|
height : window.innerHeight
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
this.run();
|
this.run();
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue