mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Merge pull request #951 from chrox/fix_fgcolor
fix fgcolor of inputbox is always 0.0
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user