Minor fix for spliced names

This commit is contained in:
Flashfyre committed 2023-12-03 00:08:13 -05:00
1 parent 839264506b
commit 2f6f7c9dc6
2 files changed
+3 -1

No files matched your search

+2
View File
@@ -180,6 +180,8 @@ export default class BattleInfo extends Phaser.GameObjects.Container {
const offsetElements = [ this.nameText, this.genderText, this.statusIndicator, this.levelContainer ];
offsetElements.forEach(el => el.y += 1.5 * (mini ? -1 : 1));
this.shinyIcon.setPositionRelative(this.levelContainer, -12, -5);
const toggledElements = [ this.hpNumbersContainer, this.expBar ];
toggledElements.forEach(el => el.setVisible(!mini));
}