mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Fix: Status bar hides text with minimal bottom margin (#5135)
With very narrow bottom margin text is sometimes hidden by status bar.
This commit is contained in:
@@ -295,7 +295,11 @@ function ReaderFooter:resetLayout()
|
||||
end
|
||||
|
||||
function ReaderFooter:getHeight()
|
||||
return self.footer_content:getSize().h
|
||||
if self.footer_content then
|
||||
return self.footer_content:getSize().h
|
||||
else
|
||||
return 0
|
||||
end
|
||||
end
|
||||
|
||||
function ReaderFooter:disableFooter()
|
||||
|
||||
Reference in New Issue
Block a user