mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Update footer when refreshing screen with diagonal swipe
And added diagonal swipe support to readerrolling.
This commit is contained in:
@@ -524,6 +524,10 @@ function ReaderFooter:onPosUpdate(pos)
|
||||
self:updateFooterPos()
|
||||
end
|
||||
|
||||
function ReaderFooter:onUpdateFooter()
|
||||
self:updateFooter()
|
||||
end
|
||||
|
||||
-- recalculate footer sizes when document page count is updated
|
||||
-- see documentation for more info about this event.
|
||||
ReaderFooter.onUpdatePos = ReaderFooter.updateFooter
|
||||
|
||||
Reference in New Issue
Block a user