Formspec background fixes
这个提交包含在:
父节点
bab77d00e4
当前提交
9cf75f54c2
|
@ -15,7 +15,9 @@ local gui = {
|
|||
-- Returns a table. Calling table.concat on the result will produce
|
||||
-- a usable formspec string.
|
||||
function gui.formspec(args)
|
||||
local data = string.format("formspec_version[%d] size[%f,%f] no_prepend[]", args.version or 3, args.w, args.h);
|
||||
local data = string.format("formspec_version[%d] size[%f,%f] no_prepend[] bgcolor[#00000000;false]",
|
||||
args.version or 3,
|
||||
args.w, args.h);
|
||||
|
||||
if args.bg then
|
||||
data = data .. gui.bg9 {
|
||||
|
|
正在加载...
在新工单中引用