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;
|
success = true;
|
||||||
|
|
||||||
} else if (this.filterTextMode) {
|
} else if (this.filterTextMode && !(this.filterText.getValue(this.filterTextCursor) === this.filterText.defaultText)) {
|
||||||
this.filterText.resetSelection(this.filterTextCursor);
|
this.filterText.resetSelection(this.filterTextCursor);
|
||||||
success = true;
|
success = true;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue