mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
readerrolling(fix): do not emit PageUpdate event until document is ready
This commit is contained in:
@@ -97,7 +97,7 @@ function ReaderFont:onReadSettings(config)
|
||||
or DCREREADER_CONFIG_DEFAULT_FONT_GAMMA
|
||||
self.ui.document:setGammaIndex(self.gamma_index)
|
||||
|
||||
-- Dirty hack: we have to add folloing call in order to set
|
||||
-- Dirty hack: we have to add following call in order to set
|
||||
-- m_is_rendered(member of LVDocView) to true. Otherwise position inside
|
||||
-- document will be reset to 0 on first view render.
|
||||
-- So far, I don't know why this call will alter the value of m_is_rendered.
|
||||
|
||||
Reference in New Issue
Block a user