Skip to content

Commit

Permalink
Make creative menu 10 slots wide
Browse files Browse the repository at this point in the history
  • Loading branch information
careeoki authored and IntegratedQuantum committed Nov 27, 2024
1 parent 154dc76 commit f465b08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/windows/creative_inventory.zig
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ pub fn onOpen() void {
var i: u32 = 0;
while(i < items.items.len) {
const row = HorizontalList.init();
for(0..8) |_| {
for(0..10) |_| {
if(i >= items.items.len) break;
row.add(ItemSlot.init(.{0, 0}, inventory, i, .default, .takeOnly));
i += 1;
Expand Down

0 comments on commit f465b08

Please sign in to comment.