diff options
| author | shedaniel <daniel@shedaniel.me> | 2020-01-17 14:31:30 +0800 |
|---|---|---|
| committer | shedaniel <daniel@shedaniel.me> | 2020-01-17 14:31:30 +0800 |
| commit | 7a1cf35934ef14c04f884fe6ae34282e1d6243ba (patch) | |
| tree | e84d0c5bfb9929f065544e96ecc1fb07d3496c29 /src/main/java/me/shedaniel/rei/gui/widget/WidgetWithBounds.java | |
| parent | b4be45e414504afb49910d766bebcd00f55b052b (diff) | |
| download | RoughlyEnoughItems-7a1cf35934ef14c04f884fe6ae34282e1d6243ba.tar.gz RoughlyEnoughItems-7a1cf35934ef14c04f884fe6ae34282e1d6243ba.tar.bz2 RoughlyEnoughItems-7a1cf35934ef14c04f884fe6ae34282e1d6243ba.zip | |
3.3.12
Diffstat (limited to 'src/main/java/me/shedaniel/rei/gui/widget/WidgetWithBounds.java')
| -rw-r--r-- | src/main/java/me/shedaniel/rei/gui/widget/WidgetWithBounds.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/me/shedaniel/rei/gui/widget/WidgetWithBounds.java b/src/main/java/me/shedaniel/rei/gui/widget/WidgetWithBounds.java index 910137d55..f9fa0793a 100644 --- a/src/main/java/me/shedaniel/rei/gui/widget/WidgetWithBounds.java +++ b/src/main/java/me/shedaniel/rei/gui/widget/WidgetWithBounds.java @@ -11,6 +11,7 @@ public abstract class WidgetWithBounds extends Widget { public abstract Rectangle getBounds(); + @Override public boolean containsMouse(double mouseX, double mouseY) { return getBounds().contains(mouseX, mouseY); } |
