mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-11-27 15:17:59 +01:00
Fix alignment of the mana subtitle in other translations
This commit is contained in:
parent
c2c16d575c
commit
ca937a671c
1 changed files with 2 additions and 1 deletions
|
@ -141,7 +141,8 @@ public class SpellbookProfilePageContent implements SpellbookChapterList.Content
|
|||
String manaString = (int)reserves.getMana().get() + "/" + (int)reserves.getMana().getMax();
|
||||
|
||||
y = 15;
|
||||
context.drawText(font, Text.translatable("gui.unicopia.spellbook.page.mana"), -font.getWidth("Mana") / 2, y, SpellbookScreen.TITLE_COLOR, false);
|
||||
Text manaLabel = Text.translatable("gui.unicopia.spellbook.page.mana");
|
||||
context.drawText(font, manaLabel, -font.getWidth(manaLabel) / 2, y, SpellbookScreen.TITLE_COLOR, false);
|
||||
context.drawText(font, manaString, -font.getWidth(manaString) / 2, y += font.fontHeight, SpellbookScreen.TITLE_COLOR, false);
|
||||
|
||||
Text levelString = Text.literal(Romanizer.romanize(currentLevel + 1));
|
||||
|
|
Loading…
Reference in a new issue