PIXI Controls: Remove unneded fix
This commit is contained in:
parent
687b675f48
commit
e544037d3c
1 changed files with 0 additions and 13 deletions
|
@ -271,20 +271,7 @@ ONSControls.updateButtons = function() {
|
|||
showButton.alpha = ConfigManager.ONSConfig.buttonsOpacity;
|
||||
console.log("ONSControls: Controls updated");
|
||||
}
|
||||
//=============================================================================
|
||||
// * Fix controls size on empty screen
|
||||
//=============================================================================
|
||||
document.addEventListener("deviceready", onCordovaDeviceReady, false);
|
||||
|
||||
ONSControls.onCordovaDeviceReady = function () {
|
||||
console.log("ONSControls: Received deviceready event from cordova"); //Remove in release
|
||||
document.addEventListener("resume", onCordovaResume, false);
|
||||
};
|
||||
|
||||
ONSControls.onCordovaResume = function () {
|
||||
console.log("ONSControls: Received resume event from cordova"); //Remove in release
|
||||
// TODO: HERE CONTROLS WILL BE UPDATED OR RECREATED
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue