aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/shedaniel/rei/gui/widget/TextFieldWidget.java
diff options
context:
space:
mode:
authorshedaniel <daniel@shedaniel.me>2020-03-07 03:10:43 +0800
committershedaniel <daniel@shedaniel.me>2020-03-07 03:10:43 +0800
commit250159221c07f884252a37daf00c74f41cf69d52 (patch)
tree702aef7062c1d7a8ddfcfa686076e55030bb334f /src/main/java/me/shedaniel/rei/gui/widget/TextFieldWidget.java
parent12223ae029f3d206ebb19ba0cd134e3c36827315 (diff)
downloadRoughlyEnoughItems-250159221c07f884252a37daf00c74f41cf69d52.tar.gz
RoughlyEnoughItems-250159221c07f884252a37daf00c74f41cf69d52.tar.bz2
RoughlyEnoughItems-250159221c07f884252a37daf00c74f41cf69d52.zip
stuff
Signed-off-by: shedaniel <daniel@shedaniel.me>
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 fed7499f9..b199f6539 100644
--- a/src/main/java/me/shedaniel/rei/gui/widget/TextFieldWidget.java
+++ b/src/main/java/me/shedaniel/rei/gui/widget/TextFieldWidget.java
@@ -404,7 +404,7 @@ public class TextFieldWidget extends WidgetWithBounds implements Tickable {
public void renderBorder() {
if (this.hasBorder()) {
- if (containsMouse(PointHelper.fromMouse()) || focused)
+ if (containsMouse(PointHelper.ofMouse()) || focused)
fill(this.bounds.x - 1, this.bounds.y - 1, this.bounds.x + this.bounds.width + 1, this.bounds.y + this.bounds.height + 1, REIHelper.getInstance().isDarkThemeEnabled() ? -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);