Skip to content
This repository was archived by the owner on Aug 9, 2023. It is now read-only.

Commit 103624b

Browse files
committed
Fix item positioning for large recipes
1 parent bf28a48 commit 103624b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

init.lua

+2-2
Original file line numberDiff line numberDiff line change
@@ -887,9 +887,9 @@ local function get_grid_fs(data, fs, rcp, spacing)
887887
_btn_size = btn_size
888888

889889
X = (btn_size * ((i - 1) % width) + XOFFSET -
890-
(sfinv_only and 2.83 or 0.5)) * (0.83 - (x_y / 5))
890+
(sfinv_only and 2.83 or 0)) * (0.83 - (x_y / 5))
891891
Y = (btn_size * floor((i - 1) / width) +
892-
(sfinv_only and 5.81 or 5.5) + x_y) * (0.86 - (x_y / 5))
892+
(sfinv_only and 5.81 or 3.92) + x_y) * (0.86 - (x_y / 5))
893893
end
894894

895895
if X > rightest then

0 commit comments

Comments
 (0)