diff --git a/www.rus/js/plugins/VND_ONSControls.js b/www.rus/js/plugins/VND_ONSControls.js index 7a86825..576407b 100644 --- a/www.rus/js/plugins/VND_ONSControls.js +++ b/www.rus/js/plugins/VND_ONSControls.js @@ -125,13 +125,13 @@ ONSControls.createAdditionalButtons = function() { ONSControls.createEditModeInterface = function() { const headerText = new PIXI.Text("Режим редактирования", { fontFamily: 'Arial', - fontSize: 24, + fontSize: Math.round(this._controlsCanvas.screen.height / 36), fill: 0xaaaaaa, align: 'center' }); const tipText = new PIXI.Text("Здесь вы можете свободно перемещать элементы управления по экрану.\nЧтобы выйти из этого режима, нажмите кнопку \"Назад\" вашего Android устройства.", { fontFamily: 'Arial', - fontSize: 16, + fontSize: Math.round(this._controlsCanvas.screen.height / 55), fill: 0xaaaaaa, align: 'center' }); @@ -935,12 +935,12 @@ Window_OmoMenuOptionsONSControls.prototype.add = function () { ONSControls.initialize = function() { console.log("ONSControls: Initialized"); this.createCanvas(); + this.createEditModeInterface(); this.configManager(); this.createButtons(); this.createDPad(); this.createBumpers(); this.createAdditionalButtons(); - this.createEditModeInterface(); this.updateButtons(); this.setupInteractive(); this.disableTouch();