From e74b28821632d3dd105bdeb494fe1b7dcc57ddbc Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Tue, 4 Nov 2025 21:11:59 +0100 Subject: fix: missing buttons in inventory button editor --- src/main/kotlin/features/inventory/buttons/InventoryButtonEditor.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/features/inventory/buttons/InventoryButtonEditor.kt b/src/main/kotlin/features/inventory/buttons/InventoryButtonEditor.kt index d862bb1..ce074d8 100644 --- a/src/main/kotlin/features/inventory/buttons/InventoryButtonEditor.kt +++ b/src/main/kotlin/features/inventory/buttons/InventoryButtonEditor.kt @@ -197,7 +197,6 @@ class InventoryButtonEditor( } override fun render(context: DrawContext, mouseX: Int, mouseY: Int, delta: Float) { - super.render(context, mouseX, mouseY, delta) context.matrices.pushMatrix() PanelComponent.DefaultBackgroundRenderer.VANILLA .render( @@ -206,6 +205,7 @@ class InventoryButtonEditor( lastGuiRect.width, lastGuiRect.height, ) context.matrices.popMatrix() + super.render(context, mouseX, mouseY, delta) for (button in buttons) { val buttonPosition = button.getBounds(lastGuiRect) context.matrices.pushMatrix() -- cgit