Page turn animations: add to dispatcher (#9123)

xref: https://www.mobileread.com/forums/showthread.php?p=4224443&postcount=1119
This commit is contained in:
yparitcher
2022-05-23 03:19:47 -04:00
committed by GitHub
parent cb95dcd4c9
commit a97dbb05ed
3 changed files with 6 additions and 1 deletions

View File

@@ -897,6 +897,10 @@ function ReaderView:onPageChangeAnimation(forward)
end
end
function ReaderView:onTogglePageChangeAnimation()
G_reader_settings:flipNilOrFalse("swipe_animations")
end
function ReaderView:onReaderFooterVisibilityChange()
-- Don't bother ReaderRolling with this nonsense, the footer's height is NOT handled via visible_area there ;)
if self.ui.paging and self.state.page then