aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/shedaniel/rei/gui/widget/TextFieldWidget.java
diff options
context:
space:
mode:
authorshedaniel <daniel@shedaniel.me>2019-11-26 20:59:59 +0800
committershedaniel <daniel@shedaniel.me>2019-11-26 20:59:59 +0800
commit516f882d348cd9535a963f3674597ca680c49909 (patch)
tree95048c24b82274d0e7cfcce8143f5a39705937f7 /src/main/java/me/shedaniel/rei/gui/widget/TextFieldWidget.java
parent295dae46f8f3b717c914adacc023e7692b82bfc1 (diff)
downloadRoughlyEnoughItems-516f882d348cd9535a963f3674597ca680c49909.tar.gz
RoughlyEnoughItems-516f882d348cd9535a963f3674597ca680c49909.tar.bz2
RoughlyEnoughItems-516f882d348cd9535a963f3674597ca680c49909.zip
3.2.12
Fixed #29
Diffstat (limited to 'src/main/java/me/shedaniel/rei/gui/widget/TextFieldWidget.java')
-rw-r--r--src/main/java/me/shedaniel/rei/gui/widget/TextFieldWidget.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/me/shedaniel/rei/gui/widget/TextFieldWidget.java b/src/main/java/me/shedaniel/rei/gui/widget/TextFieldWidget.java
index fe07f23c6..c0aa57777 100644
--- a/src/main/java/me/shedaniel/rei/gui/widget/TextFieldWidget.java
+++ b/src/main/java/me/shedaniel/rei/gui/widget/TextFieldWidget.java
@@ -390,7 +390,7 @@ public class TextFieldWidget extends WidgetWithBounds implements Tickable {
public void renderBorder() {
if (this.hasBorder()) {
if (containsMouse(PointHelper.fromMouse()) || focused)
- fill(this.bounds.x - 1, this.bounds.y - 1, this.bounds.x + this.bounds.width + 1, this.bounds.y + this.bounds.height + 1, ScreenHelper.isDarkModeEnabled() ? 0xffffbb4d : -1);
+ fill(this.bounds.x - 1, this.bounds.y - 1, this.bounds.x + this.bounds.width + 1, this.bounds.y + this.bounds.height + 1, ScreenHelper.isDarkModeEnabled() ? -17587 : -1);
else
fill(this.bounds.x - 1, this.bounds.y - 1, this.bounds.x + this.bounds.width + 1, this.bounds.y + this.bounds.height + 1, -6250336);
fill(this.bounds.x, this.bounds.y, this.bounds.x + this.bounds.width, this.bounds.y + this.bounds.height, -16777216);