From b59082ed6c76e5644d6011d0bcf3a3254f7b6b85 Mon Sep 17 00:00:00 2001 From: KimJeongSun Date: Wed, 28 Aug 2024 01:29:28 +0900 Subject: [PATCH] fix tests --- src/ui/registration-form-ui-handler.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/registration-form-ui-handler.ts b/src/ui/registration-form-ui-handler.ts index 6a9f1dd6235..0d25e13a0a7 100644 --- a/src/ui/registration-form-ui-handler.ts +++ b/src/ui/registration-form-ui-handler.ts @@ -64,7 +64,7 @@ export default class RegistrationFormUiHandler extends FormModalUiHandler { setup(): void { super.setup(); - this.modalContainer.each((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 buttonLabelTextSize is defined in languageSettings, set the font size to the value