diff options
| author | Linnea Gräf <nea@nea.moe> | 2025-11-04 21:11:59 +0100 |
|---|---|---|
| committer | Linnea Gräf <nea@nea.moe> | 2025-11-04 21:11:59 +0100 |
| commit | e74b28821632d3dd105bdeb494fe1b7dcc57ddbc (patch) | |
| tree | 81d0e9bd9e32cf1f88932c84d22396ace87491ee /src/main | |
| parent | 83a202d61fbe4a830bd8eee0bfa6d94a379e3d99 (diff) | |
| download | Firmament-e74b28821632d3dd105bdeb494fe1b7dcc57ddbc.tar.gz Firmament-e74b28821632d3dd105bdeb494fe1b7dcc57ddbc.tar.bz2 Firmament-e74b28821632d3dd105bdeb494fe1b7dcc57ddbc.zip | |
fix: missing buttons in inventory button editor
Diffstat (limited to 'src/main')
| -rw-r--r-- | src/main/kotlin/features/inventory/buttons/InventoryButtonEditor.kt | 2 |
1 files changed, 1 insertions, 1 deletions
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() |
