Make tooltip area of fake UI itemstacks smaller

This commit is contained in:
Wuzzy 2020-04-07 14:52:42 +02:00
parent 4ad81439d0
commit 5dc014ed22
1 changed files with 1 additions and 1 deletions

View File

@ -203,7 +203,7 @@ function default.ui.fake_itemstack(x, y, itemstack)
result = result .. "item_image["..x..","..y..";1,1;"
..minetest.formspec_escape(itemname .. " " .. itemamt).."]"
result = result .. "tooltip["..x..","..y..";1,1;"..minetest.formspec_escape(itemdesc).."]"
result = result .. "tooltip["..x..","..y..";0.8,0.8;"..minetest.formspec_escape(itemdesc).."]"
end
return result