aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/shedaniel/rei/gui/ContainerScreenOverlay.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/ContainerScreenOverlay.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/ContainerScreenOverlay.java')
-rw-r--r--src/main/java/me/shedaniel/rei/gui/ContainerScreenOverlay.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/me/shedaniel/rei/gui/ContainerScreenOverlay.java b/src/main/java/me/shedaniel/rei/gui/ContainerScreenOverlay.java
index f0ad31a88..46cf478f0 100644
--- a/src/main/java/me/shedaniel/rei/gui/ContainerScreenOverlay.java
+++ b/src/main/java/me/shedaniel/rei/gui/ContainerScreenOverlay.java
@@ -503,7 +503,7 @@ public class ContainerScreenOverlay extends WidgetWithBounds {
public boolean mouseScrolled(double i, double j, double amount) {
if (!ScreenHelper.isOverlayVisible())
return false;
- if (isInside(PointHelper.fromMouse())) {
+ if (isInside(PointHelper.ofMouse())) {
if (!ConfigObject.getInstance().isEntryListWidgetScrolled()) {
if (amount > 0 && leftButton.enabled)
leftButton.onPressed();