mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
credoc fix: load metadata info after document is rendered
This commit is contained in:
@@ -101,6 +101,9 @@ end
|
||||
|
||||
function CreDocument:loadDocument()
|
||||
self._document:loadDocument(self.file)
|
||||
if not self.info.has_pages then
|
||||
self.info.doc_height = self._document:getFullHeight()
|
||||
end
|
||||
end
|
||||
|
||||
function CreDocument:drawCurrentView(target, x, y, rect, pos)
|
||||
|
||||
Reference in New Issue
Block a user