resize window on orientation change
parent
9654125674
commit
65d3268f7e
|
@ -64,6 +64,12 @@ GameLib.System.Render.prototype.start = function() {
|
|||
false
|
||||
);
|
||||
|
||||
window.addEventListener(
|
||||
"orientationchange",
|
||||
this.nativeWindowResize,
|
||||
false
|
||||
);
|
||||
|
||||
GameLib.Event.Emit(
|
||||
GameLib.Event.WINDOW_RESIZE,
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue