mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
display 2 pages side-by-side in landscape for larger screen
This commit is contained in:
@@ -121,7 +121,7 @@ function CreDocument:loadDocument()
|
||||
if not self.info.has_pages then
|
||||
self.info.doc_height = self._document:getFullHeight()
|
||||
end
|
||||
if Device:getModel() ~= "KindleDXG" then
|
||||
if math.max(Screen:getWidth(), Screen:getHeight())/Screen:getDPI() < 7 then
|
||||
self:setVisiblePageCount(1)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user