Skip to content

Commit

Permalink
scale item z by 1
Browse files Browse the repository at this point in the history
closes #303
  • Loading branch information
deirn committed Dec 9, 2024
1 parent e9d74dc commit ac3e46c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit ac3e46c

Please sign in to comment.