Fixed some more tab issues. Jesus Christ.
This commit is contained in:
parent
e6685ed5e7
commit
66cba587ba
2 changed files with 5 additions and 5 deletions
8
core.lua
8
core.lua
|
@ -78,10 +78,10 @@ local function registerDraw(id, f, ...)
|
|||
end
|
||||
local rest = {n = select('#', ...), ...}
|
||||
draw_items.n = draw_items.n + 1
|
||||
|
||||
local targetindex = draw_items.n
|
||||
if id == "group_draw" then targetindex = 1 end
|
||||
|
||||
|
||||
local targetindex = draw_items.n
|
||||
if id == "group_draw" then targetindex = 1 end
|
||||
|
||||
table.insert(draw_items, targetindex, function()
|
||||
if font then love.graphics.setFont(font) end
|
||||
f(state, unpack(rest, 1, rest.n))
|
||||
|
|
|
@ -35,7 +35,7 @@ local default = {
|
|||
size = {100, 30},
|
||||
upper_left = {0,0},
|
||||
lower_right = {0,0},
|
||||
pad = 0
|
||||
pad = 0
|
||||
}
|
||||
local current = default
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue