Fixed some more tab issues. Jesus Christ.

This commit is contained in:
zorfmorf 2015-02-12 13:55:17 +01:00
parent e6685ed5e7
commit 66cba587ba
2 changed files with 5 additions and 5 deletions

View file

@ -79,8 +79,8 @@ local function registerDraw(id, f, ...)
local rest = {n = select('#', ...), ...} local rest = {n = select('#', ...), ...}
draw_items.n = draw_items.n + 1 draw_items.n = draw_items.n + 1
local targetindex = draw_items.n local targetindex = draw_items.n
if id == "group_draw" then targetindex = 1 end if id == "group_draw" then targetindex = 1 end
table.insert(draw_items, targetindex, function() table.insert(draw_items, targetindex, function()
if font then love.graphics.setFont(font) end if font then love.graphics.setFont(font) end

View file

@ -35,7 +35,7 @@ local default = {
size = {100, 30}, size = {100, 30},
upper_left = {0,0}, upper_left = {0,0},
lower_right = {0,0}, lower_right = {0,0},
pad = 0 pad = 0
} }
local current = default local current = default