From 5dc014ed22ea15ba1a26b2f2da1f53dee2e17597 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Tue, 7 Apr 2020 14:52:42 +0200 Subject: [PATCH] Make tooltip area of fake UI itemstacks smaller --- mods/default/formspec.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/default/formspec.lua b/mods/default/formspec.lua index 6a4c024..b1ae1a6 100644 --- a/mods/default/formspec.lua +++ b/mods/default/formspec.lua @@ -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