Skip to content
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.

Commit

Permalink
Merge pull request #140 from ThatOneGuyScripts/main
Browse files Browse the repository at this point in the history
Fix incorrect inventory slot spacing
  • Loading branch information
kelltom authored Feb 22, 2023
2 parents e106721 + 9fe3c03 commit 57ce62b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utilities/window.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ def __locate_inv_slots(self, cp: Rectangle) -> None:
"""
self.inventory_slots = []
slot_w, slot_h = 36, 32 # dimensions of a slot
gap_x, gap_y = 5, 3 # pixel gap between slots
gap_x, gap_y = 6, 4 # pixel gap between slots
y = 44 + cp.top # start y relative to cp template
for _ in range(7):
x = 40 + cp.left # start x relative to cp template
Expand Down

0 comments on commit 57ce62b

Please sign in to comment.