PIXI Controls: Change edit mode font size

This commit is contained in:
OleSTEEP 2024-03-02 17:58:14 +03:00
parent 7b65a3e6f6
commit f135ed52ae
2 changed files with 4 additions and 4 deletions

View file

@ -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'
});