From a4779092c15939a7b02c0618dc679d10ee8359fe Mon Sep 17 00:00:00 2001 From: Andrew Minnich Date: Sat, 5 Mar 2016 16:44:16 -0500 Subject: [PATCH] Fix an error when overriding the colors of an input widget --- theme.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/theme.lua b/theme.lua index 0f69a45..43a9830 100644 --- a/theme.lua +++ b/theme.lua @@ -112,7 +112,7 @@ function theme.Input(input, opt, x,y,w,h) x = x - input.text_draw_offset -- text - love.graphics.setColor(opt.color and opt.color.normal or theme.color.normal.fg) + love.graphics.setColor(opt.color and opt.color.normal.fg or theme.color.normal.fg) love.graphics.setFont(opt.font) love.graphics.print(input.text, x, y+(h-th)/2)