mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-06-27 07:55:36 +00:00
fix(jui): always use white if background is disabled in EditBox
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user