remove deprecated comments

This commit is contained in:
KimJeongSun 2024-08-28 01:30:02 +09:00
parent b59082ed6c
commit 0a92ece08c

View File

@ -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);