From f135ed52aee641d8bdbf47ff0edd0af22caf0ff5 Mon Sep 17 00:00:00 2001 From: OleSTEEP Date: Sat, 2 Mar 2024 17:58:14 +0300 Subject: [PATCH] PIXI Controls: Change edit mode font size --- www.eng/js/plugins/VND_ONSControls.js | 4 ++-- www.rus/js/plugins/VND_ONSControls.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/www.eng/js/plugins/VND_ONSControls.js b/www.eng/js/plugins/VND_ONSControls.js index c9ecfef..d71caba 100644 --- a/www.eng/js/plugins/VND_ONSControls.js +++ b/www.eng/js/plugins/VND_ONSControls.js @@ -124,13 +124,13 @@ ONSControls.createAdditionalButtons = function() { ONSControls.createEditModeInterface = function() { const headerText = new PIXI.Text("Edit Mode", { fontFamily: ONSControls.options.primaryFont, - fontSize: Math.round(this._controlsCanvas.screen.height / 20), + fontSize: Math.round(this._controlsCanvas.screen.height / 16), fill: 0xaaaaaa, align: 'center' }); const tipText = new PIXI.Text("In this mode you can freely move control elements on screen.\nTo exit from this mode, press \"Back\" button on your Android device.", { fontFamily: ONSControls.options.additionalFont, - fontSize: Math.round(this._controlsCanvas.screen.height / 32), + fontSize: Math.round(this._controlsCanvas.screen.height / 24), fill: 0xaaaaaa, align: 'center' }); diff --git a/www.rus/js/plugins/VND_ONSControls.js b/www.rus/js/plugins/VND_ONSControls.js index cb8eb24..dd17acb 100644 --- a/www.rus/js/plugins/VND_ONSControls.js +++ b/www.rus/js/plugins/VND_ONSControls.js @@ -124,13 +124,13 @@ ONSControls.createAdditionalButtons = function() { ONSControls.createEditModeInterface = function() { const headerText = new PIXI.Text("Режим редактирования", { fontFamily: ONSControls.options.primaryFont, - fontSize: Math.round(this._controlsCanvas.screen.height / 20), + fontSize: Math.round(this._controlsCanvas.screen.height / 16), fill: 0xaaaaaa, align: 'center' }); const tipText = new PIXI.Text("Здесь вы можете свободно перемещать элементы управления по экрану.\nЧтобы выйти из этого режима, нажмите кнопку \"Назад\" вашего Android устройства.", { fontFamily: ONSControls.options.additionalFont, - fontSize: Math.round(this._controlsCanvas.screen.height / 32), + fontSize: Math.round(this._controlsCanvas.screen.height / 24), fill: 0xaaaaaa, align: 'center' });