aboutsummaryrefslogtreecommitdiff
path: root/runtime/src/main/java/me/shedaniel/rei
diff options
context:
space:
mode:
authorshedaniel <daniel@shedaniel.me>2021-04-16 22:30:30 +0800
committershedaniel <daniel@shedaniel.me>2021-04-16 22:30:30 +0800
commitebfed69a41668a6ad446233fdfb201fe1116c339 (patch)
tree0e27420c883bc44838e560a04e3e8ad1d297b549 /runtime/src/main/java/me/shedaniel/rei
parent433874669910384c7ee291fd04f0e81947340b12 (diff)
parent2118580fc418b272723766e080209f06bdf9a2a9 (diff)
downloadRoughlyEnoughItems-ebfed69a41668a6ad446233fdfb201fe1116c339.tar.gz
RoughlyEnoughItems-ebfed69a41668a6ad446233fdfb201fe1116c339.tar.bz2
RoughlyEnoughItems-ebfed69a41668a6ad446233fdfb201fe1116c339.zip
Merge remote-tracking branch 'origin/6.x' into 6.x-1.17
Diffstat (limited to 'runtime/src/main/java/me/shedaniel/rei')
-rw-r--r--runtime/src/main/java/me/shedaniel/rei/impl/client/gui/widget/EntryWidget.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/runtime/src/main/java/me/shedaniel/rei/impl/client/gui/widget/EntryWidget.java b/runtime/src/main/java/me/shedaniel/rei/impl/client/gui/widget/EntryWidget.java
index 1f0247f3a..8e3c91241 100644
--- a/runtime/src/main/java/me/shedaniel/rei/impl/client/gui/widget/EntryWidget.java
+++ b/runtime/src/main/java/me/shedaniel/rei/impl/client/gui/widget/EntryWidget.java
@@ -471,4 +471,13 @@ public class EntryWidget extends Slot implements DraggableStackProviderWidget {
}
return null;
}
+
+ @Override
+ @Deprecated
+ public void render(PoseStack matrices, Rectangle bounds, int mouseX, int mouseY, float delta) {
+ Rectangle clone = getBounds().clone();
+ getBounds().setBounds(bounds.x - 1, bounds.y - 1, bounds.width + 2, bounds.height + 2);
+ render(matrices, mouseX, mouseY, delta);
+ getBounds().setBounds(clone);
+ }
}