Skip to content

Commit 7988ecd

Browse files
authored
Fix 1px offset with player inventory (#113)
1 parent 220b58b commit 7988ecd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/cleanroommc/modularui/widgets/SlotGroupWidget.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public static SlotGroupWidget playerInventory(int bottom, SlotConsumer slotConsu
4343
for (int i = 0; i < 9; i++) {
4444
slotGroupWidget.child(slotConsumer.apply(i, new ItemSlot())
4545
.syncHandler(key, i)
46-
.pos(i * 18, 3 * 18 + 5)
46+
.pos(i * 18, 3 * 18 + 4)
4747
.debugName("slot_" + i));
4848
}
4949
for (int i = 0; i < 27; i++) {

0 commit comments

Comments
 (0)