mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
We should set TextWidget.parent as dirty.
This commit is contained in:
@@ -51,7 +51,9 @@ end
|
||||
function TextWidget:setText(text)
|
||||
self.text = text
|
||||
self:updateSize()
|
||||
UIManager:setDirty(self, "partial")
|
||||
UIManager:setDirty(self.parent, function()
|
||||
return "partial", self.dimen
|
||||
end)
|
||||
end
|
||||
|
||||
function TextWidget:paintTo(bb, x, y)
|
||||
|
||||
Reference in New Issue
Block a user