Fix BG UI mismatch

pull/22/head
Flashfyre 2024-03-31 21:23:27 -04:00
parent 2f1536485d
commit 137a10bc9d
3 changed files with 2 additions and 2 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 322 B

After

Width:  |  Height:  |  Size: 312 B

View File

@ -28,7 +28,7 @@ export default class BattleMessageUiHandler extends MessageUiHandler {
this.textTimer = null;
this.textCallbackTimer = null;
const bg = this.scene.add.sprite(0, 0, 'bg', this.scene.windowType + 1);
const bg = this.scene.add.sprite(0, 0, 'bg', this.scene.windowType);
bg.setOrigin(0, 1);
ui.add(bg);

View File

@ -23,7 +23,7 @@ export default class EvolutionSceneHandler extends MessageUiHandler {
this.evolutionContainer = this.scene.add.container(0, -this.scene.game.canvas.height / 6);
ui.add(this.evolutionContainer);
const messageBg = this.scene.add.sprite(0, 0, 'bg', this.scene.windowType + 1);
const messageBg = this.scene.add.sprite(0, 0, 'bg', this.scene.windowType);
messageBg.setOrigin(0, 1);
messageBg.setVisible(false);
ui.add(messageBg);