aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorJuuz <6596629+Juuxel@users.noreply.github.com>2023-02-02 18:43:55 +0200
committerJuuz <6596629+Juuxel@users.noreply.github.com>2023-02-02 18:43:55 +0200
commitde2016311e220baf87c115a4ca0ae9fb8c2ab5b4 (patch)
tree0257a0f9f83a736264cff4281e0b950d92e47db6 /src/main
parent308e85498dddd78c5a9b41e555c235aecb86dc67 (diff)
downloadLibGui-de2016311e220baf87c115a4ca0ae9fb8c2ab5b4.tar.gz
LibGui-de2016311e220baf87c115a4ca0ae9fb8c2ab5b4.tar.bz2
LibGui-de2016311e220baf87c115a4ca0ae9fb8c2ab5b4.zip
Fix #182
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/io/github/cottonmc/cotton/gui/widget/WTextField.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/io/github/cottonmc/cotton/gui/widget/WTextField.java b/src/main/java/io/github/cottonmc/cotton/gui/widget/WTextField.java
index 40bc67f..f09d8f3 100644
--- a/src/main/java/io/github/cottonmc/cotton/gui/widget/WTextField.java
+++ b/src/main/java/io/github/cottonmc/cotton/gui/widget/WTextField.java
@@ -264,6 +264,7 @@ public class WTextField extends WWidget {
BufferRenderer.drawWithGlobalProgram(buffer.end());
RenderSystem.disableColorLogicOp();
RenderSystem.enableTexture();
+ RenderSystem.setShaderColor(1.0F, 1.0F, 1.0F, 1.0F);
}
public WTextField setTextPredicate(Predicate<String> predicate_1) {