footer(refactor): various bug fixes and optimizations

This commit is contained in:
Qingping Hou committed 2016-11-05 00:06:26 -07:00
1 parent 3de3fb9b14
commit 558754e9b5
4 files changed
+608 -232

No files matched your search

@@ -244,7 +244,7 @@ function ReaderZooming:getZoom(pageno)
local zoom_w = self.dimen.w
local zoom_h = self.dimen.h
if self.ui.view.footer_visible then
zoom_h = zoom_h - self.ui.view.footer.progress_text:getSize().h
zoom_h = zoom_h - self.ui.view.footer:getHeight()
end
if self.rotation % 180 == 0 then
-- No rotation or rotated by 180 degrees