PIXI Controls: Fix Edit Mode Text size and zIndex
This commit is contained in:
parent
f218aed9da
commit
57ffea9478
1 changed files with 3 additions and 3 deletions
|
@ -125,13 +125,13 @@ ONSControls.createAdditionalButtons = function() {
|
||||||
ONSControls.createEditModeInterface = function() {
|
ONSControls.createEditModeInterface = function() {
|
||||||
const headerText = new PIXI.Text("Режим редактирования", {
|
const headerText = new PIXI.Text("Режим редактирования", {
|
||||||
fontFamily: 'Arial',
|
fontFamily: 'Arial',
|
||||||
fontSize: 24,
|
fontSize: Math.round(this._controlsCanvas.screen.height / 36),
|
||||||
fill: 0xaaaaaa,
|
fill: 0xaaaaaa,
|
||||||
align: 'center'
|
align: 'center'
|
||||||
});
|
});
|
||||||
const tipText = new PIXI.Text("Здесь вы можете свободно перемещать элементы управления по экрану.\nЧтобы выйти из этого режима, нажмите кнопку \"Назад\" вашего Android устройства.", {
|
const tipText = new PIXI.Text("Здесь вы можете свободно перемещать элементы управления по экрану.\nЧтобы выйти из этого режима, нажмите кнопку \"Назад\" вашего Android устройства.", {
|
||||||
fontFamily: 'Arial',
|
fontFamily: 'Arial',
|
||||||
fontSize: 16,
|
fontSize: Math.round(this._controlsCanvas.screen.height / 55),
|
||||||
fill: 0xaaaaaa,
|
fill: 0xaaaaaa,
|
||||||
align: 'center'
|
align: 'center'
|
||||||
});
|
});
|
||||||
|
@ -935,12 +935,12 @@ Window_OmoMenuOptionsONSControls.prototype.add = function () {
|
||||||
ONSControls.initialize = function() {
|
ONSControls.initialize = function() {
|
||||||
console.log("ONSControls: Initialized");
|
console.log("ONSControls: Initialized");
|
||||||
this.createCanvas();
|
this.createCanvas();
|
||||||
|
this.createEditModeInterface();
|
||||||
this.configManager();
|
this.configManager();
|
||||||
this.createButtons();
|
this.createButtons();
|
||||||
this.createDPad();
|
this.createDPad();
|
||||||
this.createBumpers();
|
this.createBumpers();
|
||||||
this.createAdditionalButtons();
|
this.createAdditionalButtons();
|
||||||
this.createEditModeInterface();
|
|
||||||
this.updateButtons();
|
this.updateButtons();
|
||||||
this.setupInteractive();
|
this.setupInteractive();
|
||||||
this.disableTouch();
|
this.disableTouch();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue