mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-04 15:32:18 +02:00
remove deprecated comments
This commit is contained in:
parent
b59082ed6c
commit
0a92ece08c
@ -65,9 +65,7 @@ export default class RegistrationFormUiHandler extends FormModalUiHandler {
|
|||||||
super.setup();
|
super.setup();
|
||||||
|
|
||||||
this.modalContainer.list.forEach((child: Phaser.GameObjects.GameObject) => {
|
this.modalContainer.list.forEach((child: Phaser.GameObjects.GameObject) => {
|
||||||
// if child is a text object, and not the title text, set the font size to 42px
|
|
||||||
if (child instanceof Phaser.GameObjects.Text && child !== this.titleText) {
|
if (child instanceof Phaser.GameObjects.Text && child !== this.titleText) {
|
||||||
// if buttonLabelTextSize is defined in languageSettings, set the font size to the value
|
|
||||||
const inputFieldFontSize = languageSettings[i18next.language]?.inputFieldFontSize;
|
const inputFieldFontSize = languageSettings[i18next.language]?.inputFieldFontSize;
|
||||||
if (inputFieldFontSize) {
|
if (inputFieldFontSize) {
|
||||||
child.setFontSize(inputFieldFontSize);
|
child.setFontSize(inputFieldFontSize);
|
||||||
|
Loading…
Reference in New Issue
Block a user