Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Two page view #3390

Closed
tejasvi8874 opened this issue Oct 21, 2017 · 1 comment
Closed

Two page view #3390

tejasvi8874 opened this issue Oct 21, 2017 · 1 comment

Comments

@tejasvi8874
Copy link

  • KOReader version: Nightly
  • Device:Kindle reader

Issue

It would be helpful for books with extremely narrow contents like long lists.

@Frenzie
Copy link
Member

Frenzie commented Mar 6, 2018

This is actually already an option.

-- set visible page count in landscape
if math.max(Screen:getWidth(), Screen:getHeight()) / Screen:getDPI()
< DCREREADER_TWO_PAGE_THRESHOLD then
self:setVisiblePageCount(1)
end

koreader/defaults.lua

Lines 55 to 56 in d0130ae

-- default minimum screen height for reading with 2 pages in landscape mode
DCREREADER_TWO_PAGE_THRESHOLD = 7

Set it to something lover than the default of 7.

That is, make a defaults.persistent.lua and stick something like this in it:

-- default minimum screen height for reading with 2 pages in landscape mode
DCREREADER_TWO_PAGE_THRESHOLD = 3

screenshot_2018-03-06_21-07-42

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants