mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
update document.lua according to API change in cre.cpp
This commit is contained in:
@@ -203,7 +203,7 @@ end
|
||||
function Document:drawCurrentView(target, x, y, rect, pos)
|
||||
self._document:gotoPos(pos)
|
||||
tile_bb = Blitbuffer.new(rect.w, rect.h)
|
||||
self._document:drawCurrentView(tile_bb)
|
||||
self._document:drawCurrentPage(tile_bb)
|
||||
target:blitFrom(tile_bb, x, y, 0, 0, rect.w, rect.h)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user