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