mirror of
https://github.com/koreader/koreader
synced 2024-11-10 01:10:34 +00:00
recalculate page size after each call of drawPage
Only after renderPage is called can koptdocument update reflowed page size. And the recalculate acts as a page size updater here.
This commit is contained in:
parent
aa9fe4b01c
commit
4dd9232194
@ -44,6 +44,7 @@ function ReaderView:paintTo(bb, x, y)
|
||||
self.state.zoom,
|
||||
self.state.rotation,
|
||||
self.render_mode)
|
||||
self:recalculate()
|
||||
else
|
||||
self.ui.document:drawCurrentView(
|
||||
bb,
|
||||
|
Loading…
Reference in New Issue
Block a user