diff --git a/src/ui/registration-form-ui-handler.ts b/src/ui/registration-form-ui-handler.ts index 0d25e13a0a7..60fd0c98141 100644 --- a/src/ui/registration-form-ui-handler.ts +++ b/src/ui/registration-form-ui-handler.ts @@ -65,9 +65,7 @@ export default class RegistrationFormUiHandler extends FormModalUiHandler { super.setup(); 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 buttonLabelTextSize is defined in languageSettings, set the font size to the value const inputFieldFontSize = languageSettings[i18next.language]?.inputFieldFontSize; if (inputFieldFontSize) { child.setFontSize(inputFieldFontSize);