PIXI Controls: Remove unneded fix

This commit is contained in:
OleSTEEP 2024-02-08 16:23:38 +03:00
parent 687b675f48
commit e544037d3c

View file

@ -271,20 +271,7 @@ ONSControls.updateButtons = function() {
showButton.alpha = ConfigManager.ONSConfig.buttonsOpacity; showButton.alpha = ConfigManager.ONSConfig.buttonsOpacity;
console.log("ONSControls: Controls updated"); 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
};