Apply STATS_HEXAGON TextStyle

This commit is contained in:
Lugiad 2025-06-28 21:26:01 +02:00 committed by GitHub
parent 3216996f97
commit 67d54ca7fd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -86,7 +86,7 @@ export class StatsContainer extends Phaser.GameObjects.Container {
4 +
(this.showDiff ? 0 : ivChartLabelyOffset[s]),
i18next.t(getStatKey(s)),
TextStyle.TOOLTIP_CONTENT,
TextStyle.STATS_HEXAGON,
);
statLabel.setOrigin(0.5);
@ -94,7 +94,7 @@ export class StatsContainer extends Phaser.GameObjects.Container {
statLabel.x - (this.showDiff ? 0 : ivLabelOffset[s]),
statLabel.y + 8,
"0",
TextStyle.TOOLTIP_CONTENT,
TextStyle.STATS_HEXAGON,
);
this.ivStatValueTexts[s].setOrigin(0.5);