diff --git a/ejoy2d/sprite.lua b/ejoy2d/sprite.lua index 3d7787ef..1ec0504f 100644 --- a/ejoy2d/sprite.lua +++ b/ejoy2d/sprite.lua @@ -130,7 +130,7 @@ end function sprite.label(tbl) local size = tbl.size or tbl.height - 2 - local l = (c.label(tbl.width, tbl.height, size, tbl.color, tbl.align)) + local l = (c.label(tbl.width, tbl.height, size, tbl.color, tbl.align, tbl.space_w or 0, tbl.space_h or 0, tbl.auto_size or 0, tbl.noedge and 0 or 1)) if l then l = debug.setmetatable(l, sprite_meta) if tbl.text then