Hide status bar
This commit is contained in:
parent
e271be8ea0
commit
11be8e4798
|
@ -1,8 +1,16 @@
|
||||||
let game, context;
|
let game, context;
|
||||||
|
|
||||||
|
document.addEventListener("deviceready", () => {
|
||||||
|
|
||||||
|
if (typeof StatusBar !== 'undefined') {
|
||||||
|
StatusBar.hide();
|
||||||
|
}
|
||||||
|
|
||||||
init();
|
init();
|
||||||
loop();
|
loop();
|
||||||
|
|
||||||
|
}, false);
|
||||||
|
|
||||||
function init() {
|
function init() {
|
||||||
|
|
||||||
let canvas = document.getElementById('canvas');
|
let canvas = document.getElementById('canvas');
|
||||||
|
|
Loading…
Reference in New Issue