diff options
| author | shedaniel <daniel@shedaniel.me> | 2021-04-16 22:30:30 +0800 |
|---|---|---|
| committer | shedaniel <daniel@shedaniel.me> | 2021-04-16 22:30:30 +0800 |
| commit | ebfed69a41668a6ad446233fdfb201fe1116c339 (patch) | |
| tree | 0e27420c883bc44838e560a04e3e8ad1d297b549 /runtime/src | |
| parent | 433874669910384c7ee291fd04f0e81947340b12 (diff) | |
| parent | 2118580fc418b272723766e080209f06bdf9a2a9 (diff) | |
| download | RoughlyEnoughItems-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')
| -rw-r--r-- | runtime/src/main/java/me/shedaniel/rei/impl/client/gui/widget/EntryWidget.java | 9 |
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); + } } |
