Tweak value

This commit is contained in:
Jean-Patrick Guerrero 2021-01-03 22:19:58 +01:00
parent 3b89f6932c
commit 0032754e46

View File

@ -1838,7 +1838,7 @@ local function get_inventory_mode(player, fs, data, full_height)
} }
for btn_name, tooltip in pairs(btn) do for btn_name, tooltip in pairs(btn) do
fs(fmt("image_button", i + 4 - (i * 0.4), fs(fmt("image_button", i + 4.02 - (i * 0.4),
full_height - 0.6, 0.35, 0.35, "", btn_name, "")) full_height - 0.6, 0.35, 0.35, "", btn_name, ""))
i = i + 1 i = i + 1
fs(sprintf("tooltip[%s;%s]", btn_name, tooltip)) fs(sprintf("tooltip[%s;%s]", btn_name, tooltip))