From b369f47e6960f490af624925250d24dad18b1d9e Mon Sep 17 00:00:00 2001 From: Ulrich Schmidt Date: Sun, 6 Nov 2016 20:09:03 +0100 Subject: [PATCH] bugfix: no function parameter "opt" removed wrong code line --- theme.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/theme.lua b/theme.lua index 446fb42..433f146 100644 --- a/theme.lua +++ b/theme.lua @@ -20,7 +20,7 @@ function theme.getColorForState(opt) end function theme.drawBox(x,y,w,h, colors, cornerRadius) - colors = colors or theme.getColorForState(opt) + --colors = colors or theme.getColorForState(opt) cornerRadius = cornerRadius or theme.cornerRadius w = max(cornerRadius/2, w) if h < cornerRadius/2 then