mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-04 15:32:18 +02:00
Added INSTRUCTIONS_TEXT TextStyle
This commit is contained in:
parent
9f37cd4cf7
commit
144d367a73
@ -561,7 +561,7 @@ export default class PokedexUiHandler extends MessageUiHandler {
|
|||||||
this.goFilterIconElement2.setName("sprite-goFilter2-icon-element");
|
this.goFilterIconElement2.setName("sprite-goFilter2-icon-element");
|
||||||
this.goFilterIconElement2.setScale(0.675);
|
this.goFilterIconElement2.setScale(0.675);
|
||||||
this.goFilterIconElement2.setOrigin(0.0, 0.0);
|
this.goFilterIconElement2.setOrigin(0.0, 0.0);
|
||||||
this.goFilterLabel = addTextObject(30, 2, i18next.t("pokedexUiHandler:goFilters"), TextStyle.PARTY, {
|
this.goFilterLabel = addTextObject(30, 2, i18next.t("pokedexUiHandler:goFilters"), TextStyle.INSTRUCTIONS_TEXT, {
|
||||||
fontSize: instructionTextSize,
|
fontSize: instructionTextSize,
|
||||||
});
|
});
|
||||||
this.goFilterLabel.setName("text-goFilter-label");
|
this.goFilterLabel.setName("text-goFilter-label");
|
||||||
@ -577,7 +577,7 @@ export default class PokedexUiHandler extends MessageUiHandler {
|
|||||||
20,
|
20,
|
||||||
10,
|
10,
|
||||||
i18next.t("pokedexUiHandler:toggleDecorations"),
|
i18next.t("pokedexUiHandler:toggleDecorations"),
|
||||||
TextStyle.PARTY,
|
TextStyle.INSTRUCTIONS_TEXT,
|
||||||
{ fontSize: instructionTextSize },
|
{ fontSize: instructionTextSize },
|
||||||
);
|
);
|
||||||
this.toggleDecorationsLabel.setName("text-toggleDecorations-label");
|
this.toggleDecorationsLabel.setName("text-toggleDecorations-label");
|
||||||
@ -588,7 +588,7 @@ export default class PokedexUiHandler extends MessageUiHandler {
|
|||||||
this.showFormTrayIconElement.setName("sprite-showFormTray-icon-element");
|
this.showFormTrayIconElement.setName("sprite-showFormTray-icon-element");
|
||||||
this.showFormTrayIconElement.setScale(0.675);
|
this.showFormTrayIconElement.setScale(0.675);
|
||||||
this.showFormTrayIconElement.setOrigin(0.0, 0.0);
|
this.showFormTrayIconElement.setOrigin(0.0, 0.0);
|
||||||
this.showFormTrayLabel = addTextObject(16, 168, i18next.t("pokedexUiHandler:showForms"), TextStyle.PARTY, {
|
this.showFormTrayLabel = addTextObject(16, 168, i18next.t("pokedexUiHandler:showForms"), TextStyle.INSTRUCTIONS_TEXT, {
|
||||||
fontSize: instructionTextSize,
|
fontSize: instructionTextSize,
|
||||||
});
|
});
|
||||||
this.showFormTrayLabel.setName("text-showFormTray-label");
|
this.showFormTrayLabel.setName("text-showFormTray-label");
|
||||||
|
Loading…
Reference in New Issue
Block a user