Form text is properly hidden when going to filters

This commit is contained in:
Wlowscha 2025-02-12 19:27:11 +01:00
parent 4f94a3f662
commit ea310abefb
No known key found for this signature in database
GPG Key ID: 3C8F1AD330565D04

View File

@ -1866,6 +1866,7 @@ export default class PokedexUiHandler extends MessageUiHandler {
} else {
this.pokemonNumberText.setText(species ? i18next.t("pokedexUiHandler:pokemonNumber") + padInt(species.speciesId, 4) : "");
this.pokemonNameText.setText(species ? "???" : "");
this.pokemonFormText.setText("");
this.type1Icon.setVisible(false);
this.type2Icon.setVisible(false);
if (species) {