bugfix :(

This commit is contained in:
Kartik K. Agaram 2023-12-18 21:39:01 -08:00
parent 0c4730dffc
commit 81883d7dca
1 changed files with 1 additions and 1 deletions

View File

@ -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