Fix offset icons in double battle
parent
822c83e469
commit
9bbee12fe3
|
@ -203,7 +203,7 @@ export default class BattleInfo extends Phaser.GameObjects.Container {
|
||||||
if (this.player)
|
if (this.player)
|
||||||
this.y -= 12 * (mini ? 1 : -1);
|
this.y -= 12 * (mini ? 1 : -1);
|
||||||
|
|
||||||
const offsetElements = [ this.nameText, this.genderText, this.statusIndicator, this.levelContainer ];
|
const offsetElements = [ this.nameText, this.genderText, this.teraIcon, this.splicedIcon, this.statusIndicator, this.levelContainer ];
|
||||||
offsetElements.forEach(el => el.y += 1.5 * (mini ? -1 : 1));
|
offsetElements.forEach(el => el.y += 1.5 * (mini ? -1 : 1));
|
||||||
|
|
||||||
this.shinyIcon.setPositionRelative(this.levelContainer, -12, -5);
|
this.shinyIcon.setPositionRelative(this.levelContainer, -12, -5);
|
||||||
|
|
Loading…
Reference in New Issue