mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
footer(refactor): various bug fixes and optimizations
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user