Menu in pokedex page is not pushed to the left when localized options are long

This commit is contained in:
Wlowscha 2025-02-10 18:41:26 +01:00
parent 81e95104f5
commit 263ea286dc
No known key found for this signature in database
GPG Key ID: 3C8F1AD330565D04

View File

@ -506,7 +506,7 @@ export default class PokedexPageUiHandler extends MessageUiHandler {
this.scale = getTextStyleOptions(TextStyle.WINDOW, globalScene.uiTheme).scale;
this.menuBg = addWindow(
(globalScene.game.canvas.width / 6) - (this.optionSelectText.displayWidth + 25),
(globalScene.game.canvas.width / 6 - 83),
0,
this.optionSelectText.displayWidth + 19 + 24 * this.scale,
(globalScene.game.canvas.height / 6) - 2