From bd4fd06e5d8d3e1e62c816f74fb9a179109c704f Mon Sep 17 00:00:00 2001 From: deirn Date: Tue, 10 Dec 2024 00:55:24 +0700 Subject: [PATCH] scale item z by 1 closes #303 (cherry picked from commit ac3e46c76d653ba7ac0278485ee35b71cc2fb9db) --- .../java/mcp/mobius/waila/api/component/ItemListComponent.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/java/mcp/mobius/waila/api/component/ItemListComponent.java b/src/api/java/mcp/mobius/waila/api/component/ItemListComponent.java index 195ae436..dbf06d62 100644 --- a/src/api/java/mcp/mobius/waila/api/component/ItemListComponent.java +++ b/src/api/java/mcp/mobius/waila/api/component/ItemListComponent.java @@ -59,7 +59,7 @@ public void render(GuiGraphics ctx, int x, int y, DeltaTracker delta) { var pose = ctx.pose(); pose.pushPose(); pose.translate(x, y, 0); - pose.scale(scale, scale, 0f); + pose.scale(scale, scale, 1f); for (var i = 0; i < items.size(); i++) { var item = items.get(i);