From d12ffe9295c6003301ef29bb4601cbe587113e8e Mon Sep 17 00:00:00 2001 From: Matthias Richter Date: Thu, 16 Mar 2017 20:29:04 +0100 Subject: [PATCH] Remove unneeded local --- theme.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/theme.lua b/theme.lua index fe8b416..c052348 100644 --- a/theme.lua +++ b/theme.lua @@ -19,7 +19,7 @@ function theme.getColorForState(opt) end function theme.drawBox(x,y,w,h, colors, cornerRadius) - local colors = colors or theme.getColorForState(opt) + colors = colors or theme.getColorForState(opt) cornerRadius = cornerRadius or theme.cornerRadius w = math.max(cornerRadius/2, w) if h < cornerRadius/2 then