Fix BG UI mismatch
This commit is contained in:
parent
2f1536485d
commit
137a10bc9d
Binary file not shown.
Before Width: | Height: | Size: 322 B After Width: | Height: | Size: 312 B |
|
@ -28,7 +28,7 @@ export default class BattleMessageUiHandler extends MessageUiHandler {
|
||||||
this.textTimer = null;
|
this.textTimer = null;
|
||||||
this.textCallbackTimer = 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);
|
bg.setOrigin(0, 1);
|
||||||
ui.add(bg);
|
ui.add(bg);
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,7 @@ export default class EvolutionSceneHandler extends MessageUiHandler {
|
||||||
this.evolutionContainer = this.scene.add.container(0, -this.scene.game.canvas.height / 6);
|
this.evolutionContainer = this.scene.add.container(0, -this.scene.game.canvas.height / 6);
|
||||||
ui.add(this.evolutionContainer);
|
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.setOrigin(0, 1);
|
||||||
messageBg.setVisible(false);
|
messageBg.setVisible(false);
|
||||||
ui.add(messageBg);
|
ui.add(messageBg);
|
||||||
|
|
Loading…
Reference in New Issue