fix tests

This commit is contained in:
KimJeongSun 2024-08-28 01:29:28 +09:00
parent b6396771fd
commit b59082ed6c

View File

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