aboutsummaryrefslogtreecommitdiff
path: root/RoughlyEnoughItems-runtime/src/main/java/me/shedaniel/rei/gui/ContainerScreenOverlay.java
diff options
context:
space:
mode:
authorshedaniel <daniel@shedaniel.me>2020-10-17 12:10:15 +0800
committershedaniel <daniel@shedaniel.me>2020-10-17 12:10:15 +0800
commitb7f8fc61dcaa6d202809651d46cf0946b63beef7 (patch)
tree31ddc7dcf995a2107e28e8ab58fcce62f41155ab /RoughlyEnoughItems-runtime/src/main/java/me/shedaniel/rei/gui/ContainerScreenOverlay.java
parentcfd5c2a5b41388036b3e67f237bb8c18bf5bb1c2 (diff)
downloadRoughlyEnoughItems-b7f8fc61dcaa6d202809651d46cf0946b63beef7.tar.gz
RoughlyEnoughItems-b7f8fc61dcaa6d202809651d46cf0946b63beef7.tar.bz2
RoughlyEnoughItems-b7f8fc61dcaa6d202809651d46cf0946b63beef7.zip
Close #423
Signed-off-by: shedaniel <daniel@shedaniel.me>
Diffstat (limited to 'RoughlyEnoughItems-runtime/src/main/java/me/shedaniel/rei/gui/ContainerScreenOverlay.java')
-rw-r--r--RoughlyEnoughItems-runtime/src/main/java/me/shedaniel/rei/gui/ContainerScreenOverlay.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/RoughlyEnoughItems-runtime/src/main/java/me/shedaniel/rei/gui/ContainerScreenOverlay.java b/RoughlyEnoughItems-runtime/src/main/java/me/shedaniel/rei/gui/ContainerScreenOverlay.java
index 5ab13593c..4e0a5e06b 100644
--- a/RoughlyEnoughItems-runtime/src/main/java/me/shedaniel/rei/gui/ContainerScreenOverlay.java
+++ b/RoughlyEnoughItems-runtime/src/main/java/me/shedaniel/rei/gui/ContainerScreenOverlay.java
@@ -364,7 +364,6 @@ public class ContainerScreenOverlay extends WidgetWithBounds implements REIOverl
}
}
- @ApiStatus.Experimental
private Rectangle getSubsetsButtonBounds() {
if (ConfigObject.getInstance().isSubsetsEnabled()) {
if (Minecraft.getInstance().screen instanceof RecipeViewingScreen) {
@@ -511,7 +510,7 @@ public class ContainerScreenOverlay extends WidgetWithBounds implements REIOverl
ENTRY_LIST_WIDGET.updateSearch(ScreenHelper.getSearchField().getText(), true);
}
}
- if (OverlaySearchField.isSearching) {
+ if (OverlaySearchField.isHighlighting) {
matrices.pushPose();
matrices.translate(0, 0, 200f);
if (Minecraft.getInstance().screen instanceof AbstractContainerScreen) {