Hiding pokemon info when going to filters

This commit is contained in:
Wlowscha 2025-09-09 07:49:20 +02:00
parent 8a6284b035
commit 3dfca9abcd
No known key found for this signature in database
GPG Key ID: 3C8F1AD330565D04

View File

@ -2174,7 +2174,6 @@ export class StarterSelectUiHandler extends MessageUiHandler {
if (!this.filterMode) { if (!this.filterMode) {
this.startCursorObj.setVisible(false); this.startCursorObj.setVisible(false);
this.starterIconsCursorObj.setVisible(false); this.starterIconsCursorObj.setVisible(false);
this.setNoSpecies();
this.filterBarCursor = 0; this.filterBarCursor = 0;
this.setFilterMode(true); this.setFilterMode(true);
this.filterBar.toggleDropDown(this.filterBarCursor); this.filterBar.toggleDropDown(this.filterBarCursor);
@ -2978,6 +2977,8 @@ export class StarterSelectUiHandler extends MessageUiHandler {
if (this.lastSpecies) { if (this.lastSpecies) {
this.stopIconAnimation(this.oldCursor); this.stopIconAnimation(this.oldCursor);
} }
this.starterSummary.setNoSpecies();
} }
setSpecies(species: PokemonSpecies) { setSpecies(species: PokemonSpecies) {