mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-28 11:12:24 +02:00
Attempting to exit from filter text is now allowed if current option is empty
This commit is contained in:
parent
c340b8be28
commit
a53195f174
@ -908,7 +908,7 @@ export default class PokedexUiHandler extends MessageUiHandler {
|
||||
}
|
||||
success = true;
|
||||
|
||||
} else if (this.filterTextMode) {
|
||||
} else if (this.filterTextMode && !(this.filterText.getValue(this.filterTextCursor) === this.filterText.defaultText)) {
|
||||
this.filterText.resetSelection(this.filterTextCursor);
|
||||
success = true;
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user