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() {
|
||||
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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue