aboutsummaryrefslogtreecommitdiff
path: root/RoughlyEnoughItems-runtime/src/main/java/me/shedaniel/rei/gui/RecipeViewingScreen.java
diff options
context:
space:
mode:
authorshedaniel <daniel@shedaniel.me>2020-10-26 10:49:27 +0800
committershedaniel <daniel@shedaniel.me>2020-10-29 14:02:27 +0800
commit9ea4a22e9a194fd8fdc2fb03226ab38ee175a6cc (patch)
treeb4db2569bc4a90d7bb835ff451fe5e11e86e8968 /RoughlyEnoughItems-runtime/src/main/java/me/shedaniel/rei/gui/RecipeViewingScreen.java
parentb7f8fc61dcaa6d202809651d46cf0946b63beef7 (diff)
downloadRoughlyEnoughItems-9ea4a22e9a194fd8fdc2fb03226ab38ee175a6cc.tar.gz
RoughlyEnoughItems-9ea4a22e9a194fd8fdc2fb03226ab38ee175a6cc.tar.bz2
RoughlyEnoughItems-9ea4a22e9a194fd8fdc2fb03226ab38ee175a6cc.zip
Favorites Dragging
Signed-off-by: shedaniel <daniel@shedaniel.me>
Diffstat (limited to 'RoughlyEnoughItems-runtime/src/main/java/me/shedaniel/rei/gui/RecipeViewingScreen.java')
-rw-r--r--RoughlyEnoughItems-runtime/src/main/java/me/shedaniel/rei/gui/RecipeViewingScreen.java4
1 files changed, 0 insertions, 4 deletions
diff --git a/RoughlyEnoughItems-runtime/src/main/java/me/shedaniel/rei/gui/RecipeViewingScreen.java b/RoughlyEnoughItems-runtime/src/main/java/me/shedaniel/rei/gui/RecipeViewingScreen.java
index 9aa2f7da2..8c949bf75 100644
--- a/RoughlyEnoughItems-runtime/src/main/java/me/shedaniel/rei/gui/RecipeViewingScreen.java
+++ b/RoughlyEnoughItems-runtime/src/main/java/me/shedaniel/rei/gui/RecipeViewingScreen.java
@@ -197,7 +197,6 @@ public class RecipeViewingScreen extends Screen implements RecipeScreen {
return true;
if (keyCode == 256 || this.minecraft.options.keyInventory.matches(keyCode, scanCode)) {
Minecraft.getInstance().setScreen(REIHelper.getInstance().getPreviousContainerScreen());
- ScreenHelper.getLastOverlay().init();
return true;
}
if (keyCode == 259) {
@@ -359,7 +358,6 @@ public class RecipeViewingScreen extends Screen implements RecipeScreen {
}
children.addAll(tabs);
- children.add(ScreenHelper.getLastOverlay(true, false));
children.addAll(widgets);
children.addAll(preWidgets);
}
@@ -428,8 +426,6 @@ public class RecipeViewingScreen extends Screen implements RecipeScreen {
if (tab.isSelected())
tab.render(matrices, mouseX, mouseY, delta);
}
- ScreenHelper.getLastOverlay().render(matrices, mouseX, mouseY, delta);
- ScreenHelper.getLastOverlay().lateRender(matrices, mouseX, mouseY, delta);
{
ModifierKeyCode export = ConfigObject.getInstance().getExportImageKeybind();
if (export.matchesCurrentKey() || export.matchesCurrentMouse()) {