From e544037d3cce91d7d97a80f5efb3d137373f7627 Mon Sep 17 00:00:00 2001 From: OleSTEEP Date: Thu, 8 Feb 2024 16:23:38 +0300 Subject: [PATCH] PIXI Controls: Remove unneded fix --- www.rus/js/plugins/VND_ONSControls.js | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/www.rus/js/plugins/VND_ONSControls.js b/www.rus/js/plugins/VND_ONSControls.js index 442f111..f9b6d68 100644 --- a/www.rus/js/plugins/VND_ONSControls.js +++ b/www.rus/js/plugins/VND_ONSControls.js @@ -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 -};