From f85ed7e60578d9bdf73d3366778b6cf549e12147 Mon Sep 17 00:00:00 2001 From: Username404-59 Date: Sat, 1 May 2021 16:55:28 +0200 Subject: [PATCH] Use black text for buttons --- .../kotlin/fr/username404/snowygui/gui/elements/ClickButton.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/main/kotlin/fr/username404/snowygui/gui/elements/ClickButton.kt b/common/src/main/kotlin/fr/username404/snowygui/gui/elements/ClickButton.kt index f47937d..2017e38 100644 --- a/common/src/main/kotlin/fr/username404/snowygui/gui/elements/ClickButton.kt +++ b/common/src/main/kotlin/fr/username404/snowygui/gui/elements/ClickButton.kt @@ -53,6 +53,6 @@ class ClickButton( defaultRectFunc() RenderSystem.enableTexture() RenderSystem.disableBlend() - if (Title != null) Minecraft.getInstance().font.draw(poseStack, Title, x.toFloat() + 1, y.toFloat(), TransparentColor) + if (Title != null) Minecraft.getInstance().font.draw(poseStack, Title, x.toFloat() + 1, y.toFloat(), 0x000000) } } \ No newline at end of file