mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
fill background of intermediary blitbuffers
we need to explicitly fill those buffers, now that white is not "0" anymore.
This commit is contained in:
@@ -209,6 +209,7 @@ function TextBoxWidget:_render(v_list)
|
||||
local space_w = RenderText:sizeUtf8Text(0, Screen:getWidth(), self.face, " ", true).x
|
||||
local h = (font_height + line_height_px) * #v_list
|
||||
self._bb = Blitbuffer.new(self.width, h)
|
||||
self._bb:fill(Blitbuffer.COLOR_WHITE)
|
||||
local y = font_height
|
||||
local pen_x = 0
|
||||
for _,l in ipairs(v_list) do
|
||||
|
||||
Reference in New Issue
Block a user