fix fgcolor of inputbox is always 0.0

pull/951/head
chrox 10 years ago
parent 87e9f34397
commit 7b78d70c74

@ -51,7 +51,7 @@ end
function InputText:initTextBox(text)
self.text = text
self:initCharlist(text)
local fgcolor = 0.0, self.text == "" and 0.5 or 1.0
local fgcolor = self.text == "" and 0.5 or 1.0
local text_widget = nil
local show_text = self.text

Loading…
Cancel
Save