[UX] Option to show progress bar at the bottom of the screen (#5442)

This commit is contained in:
Robert
2019-10-10 17:02:28 +02:00
committed by Frans de Jonge
parent 50f3aa252f
commit 5209493ba8
6 changed files with 319 additions and 60 deletions

View File

@@ -758,7 +758,7 @@ function ReaderPaging:onScrollPanRel(diff)
end
function ReaderPaging:calculateOverlap()
local footer_height = (self.view.footer_visible and 1 or 0) * self.view.footer.bar_height
local footer_height = (self.view.footer_visible and 1 or 0) * self.view.footer.height
return self.overlap + footer_height
end