Tune fs style

This commit is contained in:
Jean-Patrick Guerrero 2019-10-04 00:19:48 +02:00
parent 5d7bb6de53
commit c570fa2337

@ -827,13 +827,11 @@ local function get_info_fs(data, fs)
end
for i = 1, width * rows do
local item = rcp.items[i]
local item = rcp.items[i] or ""
local X = ceil((i - 1) % width - width) + XOFFSET
local Y = ceil(i / width) + YOFFSET - min(2, rows) + spacing
if item or large_recipe then
if large_recipe then
item = item or ""
local xof = 1 - 4 / width
local yof = 1 - 4 / rows
local x_y = width > rows and xof or yof
@ -898,7 +896,6 @@ local function get_info_fs(data, fs)
btn_size, btn_size, "craftguide_selected.png")
end
end
end
if large_recipe then
fs[#fs + 1] = "style_type[item_image_button;border=false]"