From 9a2062c70a4086bf3f1dc30b782494d87427dbd6 Mon Sep 17 00:00:00 2001 From: Sally Knight Date: Thu, 26 Mar 2026 15:48:52 +0300 Subject: [PATCH] fix(jui): always use white if background is disabled in EditBox --- Minecraft.Client/UI/EditBox.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Minecraft.Client/UI/EditBox.cpp b/Minecraft.Client/UI/EditBox.cpp index 24b564e41..da48457e7 100644 --- a/Minecraft.Client/UI/EditBox.cpp +++ b/Minecraft.Client/UI/EditBox.cpp @@ -88,7 +88,7 @@ void EditBox::render() { if (active) { bool renderUnderscore = inFocus && (frame / 6 % 2 == 0); drawString(font, value + (renderUnderscore ? L"_" : L""), textX, textY, - 0xe0e0e0); + (enableBackgroundDrawing ? 0xe0e0e0 : 0xffffff)); } else { drawString(font, value, textX, textY, (enableBackgroundDrawing ? 0xe0e0e0 : 0xffffff));