PIXI Controls: Change edit mode font size
This commit is contained in:
parent
7b65a3e6f6
commit
f135ed52ae
2 changed files with 4 additions and 4 deletions
|
@ -124,13 +124,13 @@ ONSControls.createAdditionalButtons = function() {
|
||||||
ONSControls.createEditModeInterface = function() {
|
ONSControls.createEditModeInterface = function() {
|
||||||
const headerText = new PIXI.Text("Edit Mode", {
|
const headerText = new PIXI.Text("Edit Mode", {
|
||||||
fontFamily: ONSControls.options.primaryFont,
|
fontFamily: ONSControls.options.primaryFont,
|
||||||
fontSize: Math.round(this._controlsCanvas.screen.height / 20),
|
fontSize: Math.round(this._controlsCanvas.screen.height / 16),
|
||||||
fill: 0xaaaaaa,
|
fill: 0xaaaaaa,
|
||||||
align: 'center'
|
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.", {
|
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,
|
fontFamily: ONSControls.options.additionalFont,
|
||||||
fontSize: Math.round(this._controlsCanvas.screen.height / 32),
|
fontSize: Math.round(this._controlsCanvas.screen.height / 24),
|
||||||
fill: 0xaaaaaa,
|
fill: 0xaaaaaa,
|
||||||
align: 'center'
|
align: 'center'
|
||||||
});
|
});
|
||||||
|
|
|
@ -124,13 +124,13 @@ ONSControls.createAdditionalButtons = function() {
|
||||||
ONSControls.createEditModeInterface = function() {
|
ONSControls.createEditModeInterface = function() {
|
||||||
const headerText = new PIXI.Text("Режим редактирования", {
|
const headerText = new PIXI.Text("Режим редактирования", {
|
||||||
fontFamily: ONSControls.options.primaryFont,
|
fontFamily: ONSControls.options.primaryFont,
|
||||||
fontSize: Math.round(this._controlsCanvas.screen.height / 20),
|
fontSize: Math.round(this._controlsCanvas.screen.height / 16),
|
||||||
fill: 0xaaaaaa,
|
fill: 0xaaaaaa,
|
||||||
align: 'center'
|
align: 'center'
|
||||||
});
|
});
|
||||||
const tipText = new PIXI.Text("Здесь вы можете свободно перемещать элементы управления по экрану.\nЧтобы выйти из этого режима, нажмите кнопку \"Назад\" вашего Android устройства.", {
|
const tipText = new PIXI.Text("Здесь вы можете свободно перемещать элементы управления по экрану.\nЧтобы выйти из этого режима, нажмите кнопку \"Назад\" вашего Android устройства.", {
|
||||||
fontFamily: ONSControls.options.additionalFont,
|
fontFamily: ONSControls.options.additionalFont,
|
||||||
fontSize: Math.round(this._controlsCanvas.screen.height / 32),
|
fontSize: Math.round(this._controlsCanvas.screen.height / 24),
|
||||||
fill: 0xaaaaaa,
|
fill: 0xaaaaaa,
|
||||||
align: 'center'
|
align: 'center'
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue