]> git.lizzy.rs Git - BoundingBoxOutlineReloaded.git/blobdiff - src/main/java/com/irtimaled/bbor/client/gui/SelectableControlList.java
Update to 1.17.1 (#124)
[BoundingBoxOutlineReloaded.git] / src / main / java / com / irtimaled / bbor / client / gui / SelectableControlList.java
index ad3fc827e48af195c24f654927b2efdeab029da2..1c1e7032ee9ebf5452ad87b629da62d8d05005ed 100644 (file)
@@ -83,9 +83,9 @@ public class SelectableControlList extends ControlList {
     protected void drawEntry(MatrixStack matrixStack, int mouseX, int mouseY, int top, ControlListEntry entry, int height) {
         if (this.selectedElement == entry.index) {
             RenderHelper.disableTexture();
-            RenderHelper.resetShader();
             int color = this.isFocused ? 255 : 128;
             Renderer.startQuads()
+                    .setMatrixStack(matrixStack)
                     .setAlpha(255)
                     .setColor(color, color, color)
                     .addPoint((double) this.listLeft - 2, (double) (top + height) - 2, 0.0D)