filemanager(fix): refresh banner in filemanager insteand of TextWidget

This commit is contained in:
Huang Xin
2016-07-09 01:52:33 -07:00
committed by Qingping Hou
parent 304b0f218e
commit b8f23d162d
2 changed files with 17 additions and 14 deletions

View File

@@ -1,4 +1,3 @@
local UIManager = require("ui/uimanager")
local Widget = require("ui/widget/widget")
local Screen = require("device").screen
local RenderText = require("ui/rendertext")
@@ -51,9 +50,6 @@ end
function TextWidget:setText(text)
self.text = text
self:updateSize()
UIManager:setDirty(self.parent, function()
return "partial", self.dimen
end)
end
function TextWidget:paintTo(bb, x, y)