mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-04 15:32:18 +02:00
Add new TextStyle
This commit is contained in:
parent
f9bdb4f41f
commit
cb68afe7cb
@ -144,7 +144,7 @@ export default class NavigationMenu extends Phaser.GameObjects.Container {
|
||||
let relative: Phaser.GameObjects.Sprite | Phaser.GameObjects.Text = iconPreviousTab;
|
||||
let relativeWidth: number = iconPreviousTab.width * 6;
|
||||
for (const label of navigationManager.labels) {
|
||||
const labelText = addTextObject(0, 0, label, TextStyle.SETTINGS_LABEL);
|
||||
const labelText = addTextObject(0, 0, label, TextStyle.SETTINGS_LABEL_NAVBAR);
|
||||
labelText.setOrigin(0, 0);
|
||||
labelText.setPositionRelative(relative, 6 + relativeWidth / 6, 0);
|
||||
this.add(labelText);
|
||||
|
Loading…
Reference in New Issue
Block a user