From 37376fdc6ac90a67dccbb21f06cd9949dde5af9b Mon Sep 17 00:00:00 2001 From: Username404-59 Date: Sat, 10 Apr 2021 19:35:59 +0200 Subject: [PATCH] Fix the Y axis of the rendered strings. --- common/src/main/kotlin/fr/username404/snowygui/gui/ClickBox.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/main/kotlin/fr/username404/snowygui/gui/ClickBox.kt b/common/src/main/kotlin/fr/username404/snowygui/gui/ClickBox.kt index 2806b98..b9049e4 100644 --- a/common/src/main/kotlin/fr/username404/snowygui/gui/ClickBox.kt +++ b/common/src/main/kotlin/fr/username404/snowygui/gui/ClickBox.kt @@ -25,7 +25,7 @@ class ClickBox(x: Double, y: Double, private val name: TranslatableComponent? = RenderSystem.disableBlend() if (name != null) { - Minecraft.getInstance().font.draw(poseStack, name.string, x.toFloat() + 2, y.toFloat() + 1, TransparentColor) + Minecraft.getInstance().font.draw(poseStack, name.string, x.toFloat() + 2, y.toFloat() + 2, TransparentColor) } } } \ No newline at end of file