rexrainbow / phaser3-rex-notes

Notes of phaser3 engine
MIT License
1.21k stars 263 forks source link

scene.rexUI.add.label is broken #396

Closed MartinPlascencia closed 10 months ago

MartinPlascencia commented 10 months ago

The last update broke some functions of the rexUI script. When trying to create a label it show this error, I need access to the last version, and I won´t trust using online versions again. Captura

MartinPlascencia commented 10 months ago

I updated the game locally using a prior version and it's working.

rexrainbow commented 10 months ago

The last commit is for this demo, to change children's alignment mode. It works fine in my environment.

Anyway, I will rewrite some logic to prevent that error message.

rexrainbow commented 10 months ago

New version submitted, please try that online minify file again.

MartinPlascencia commented 10 months ago

I tested and now it shows this error when using "scene.rexUI.add.label", as I said prior version is working so I'll keep that one for now. This is the code I am using, I am not using any new feature so I think I'll leave as it is. image

Captura

rexrainbow commented 10 months ago

Got it, it is a Label without Icon and Text elements. I update another new version, please try again.

MartinPlascencia commented 10 months ago

It is working now, thank you for the support.

rexrainbow commented 10 months ago

Today will upgrade npm package, lucky that we fix this bug before that.