From 60ec37deeefe855120f5cb4bcbbf15783f291793 Mon Sep 17 00:00:00 2001 From: BenCheung0422 <74168521+BenCheung0422@users.noreply.github.com> Date: Tue, 6 Dec 2022 19:34:56 +0800 Subject: [PATCH] Might resolve the potential rendering problem --- src/main/java/minicraft/screen/QuestsDisplay.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/minicraft/screen/QuestsDisplay.java b/src/main/java/minicraft/screen/QuestsDisplay.java index 7ac0f7801..1c136319c 100644 --- a/src/main/java/minicraft/screen/QuestsDisplay.java +++ b/src/main/java/minicraft/screen/QuestsDisplay.java @@ -183,7 +183,7 @@ public QuestsDisplay() { .setSelectable(true) .createMenu(), new Menu.Builder(false, 0, RelPos.LEFT) - .setPositioning(new Point(Screen.w / 2 - 8 * 11, 30), RelPos.RIGHT) + .setPositioning(new Point(Screen.w / 2 - 8 * (2 + Localization.getLocalized("minicraft.displays.quests.display.header.unlocked").length()), 30), RelPos.RIGHT) .setEntries(new StringEntry("minicraft.displays.quests.display.header.unlocked", Color.GRAY)) .setSelectable(false) .createMenu(),