From 5f6e8277e5057f47680a6578c29f309594fed5af Mon Sep 17 00:00:00 2001 From: Jean-Patrick Guerrero Date: Thu, 21 Jan 2021 19:55:23 +0100 Subject: [PATCH] Change bgcolor --- init.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 76bf22a..fe5e52f 100644 --- a/init.lua +++ b/init.lua @@ -1940,6 +1940,7 @@ end local function make_fs(player, data) --local start = os.clock() + local fs = setmetatable({}, { __call = function(t, ...) t[#t + 1] = concat({...}) @@ -1949,7 +1950,7 @@ local function make_fs(player, data) data.xoffset = ROWS + 1.23 local full_height = LINES + 1.73 - fs(fmt("formspec_version[%u]size[%f,%f]no_prepend[]bgcolor[#0000]", + fs(fmt("formspec_version[%u]size[%f,%f]no_prepend[]bgcolor[#080808BB;true]", MIN_FORMSPEC_VERSION, data.xoffset + (data.query_item and 8 or 0), full_height), styles) fs(fmt("bg9", 0, 0, data.xoffset, full_height, PNG.bg_full, 10))