revert `self:setups` back to original state

reviewable/pr11690/r3
SomeGuy 2 weeks ago committed by GitHub
parent ff1709d15e
commit 2a2c3ce848
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -343,10 +343,8 @@ function ReaderHandMade:onDocumentRerendered()
-- Called with CRE document when partial rerendering not enabled
self:updateHandmagePages()
-- Don't have these send events their own events
if Device:isTouchDevice() then
self:setupFlows(true)
self:setupToc(true)
end
self:setupFlows(true)
self:setupToc(true)
-- ReaderToc will process this event just after us, and will
-- call its onUpdateToc: we don't need to send it.
-- (Also, no need for InitScrollPageStates with CRE.)

Loading…
Cancel
Save