diff options
Diffstat (limited to 'button.lua')
-rw-r--r-- | button.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/button.lua b/button.lua index c3b7110..df83704 100644 --- a/button.lua +++ b/button.lua @@ -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 |