bugfix :(
This commit is contained in:
parent
0c4730dffc
commit
81883d7dca
|
@ -11,8 +11,8 @@
|
|||
function button(State, name, params)
|
||||
if params.bg then
|
||||
love.graphics.setColor(params.bg.r, params.bg.g, params.bg.b, params.bg.a)
|
||||
love.graphics.rectangle('fill', params.x,params.y, params.w,params.h, 5,5)
|
||||
end
|
||||
love.graphics.rectangle('fill', params.x,params.y, params.w,params.h, 5,5)
|
||||
if params.icon then params.icon(params) end
|
||||
table.insert(State.button_handlers, params)
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue