bugfix: no function parameter "opt"

removed wrong code line
This commit is contained in:
Ulrich Schmidt 2016-11-06 20:09:03 +01:00
parent aad95de809
commit b369f47e69

View file

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