v2.5.0: fixed layout errors in zh/jp on journal scene title

This commit is contained in:
Evan Debenham
2024-08-27 13:40:47 -04:00
parent ad165fc5d0
commit 2b2bf9dfd8

View File

@@ -82,6 +82,7 @@ public class JournalScene extends PixelScene {
float top = 20;
IconTitle title = new IconTitle( Icons.JOURNAL.get(), Messages.get(this, "title") );
title.setSize(200, 0);
title.setPos(
(w - title.reqWidth()) / 2f,
(top - title.height()) / 2f