From 866bf73bbf18d0ffa0265aeade2066e1316175d0 Mon Sep 17 00:00:00 2001 From: xander Date: Tue, 13 Sep 2022 21:36:24 +0100 Subject: fix search field rendering over tooltips --- src/main/java/dev/isxander/yacl/gui/YACLScreen.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main') diff --git a/src/main/java/dev/isxander/yacl/gui/YACLScreen.java b/src/main/java/dev/isxander/yacl/gui/YACLScreen.java index 9b73d8d..0439da7 100644 --- a/src/main/java/dev/isxander/yacl/gui/YACLScreen.java +++ b/src/main/java/dev/isxander/yacl/gui/YACLScreen.java @@ -124,9 +124,9 @@ public class YACLScreen extends Screen { renderBackground(matrices); super.render(matrices, mouseX, mouseY, delta); + searchFieldWidget.render(matrices, mouseX, mouseY, delta); optionList.render(matrices, mouseX, mouseY, delta); - searchFieldWidget.render(matrices, mouseX, mouseY, delta); for (Element child : children()) { if (child instanceof TooltipButtonWidget tooltipButtonWidget) { -- cgit