aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/shedaniel/rei/gui/widget/DraggableWidget.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/DraggableWidget.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/DraggableWidget.java')
-rw-r--r--src/main/java/me/shedaniel/rei/gui/widget/DraggableWidget.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/me/shedaniel/rei/gui/widget/DraggableWidget.java b/src/main/java/me/shedaniel/rei/gui/widget/DraggableWidget.java
index a09355373..d9e4e04d1 100644
--- a/src/main/java/me/shedaniel/rei/gui/widget/DraggableWidget.java
+++ b/src/main/java/me/shedaniel/rei/gui/widget/DraggableWidget.java
@@ -60,7 +60,7 @@ public abstract class DraggableWidget extends WidgetWithBounds {
@Override
public boolean mouseDragged(double double_1, double double_2, int int_1, double double_3, double double_4) {
- Point mouse = PointHelper.fromMouse();
+ Point mouse = PointHelper.ofMouse();
if (int_1 == 0) {
if (!dragged) {
if (getGrabBounds().contains(mouse)) {