Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ejoy2d/sprite.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down