add DSHOWOVERLAP in defaults.lua

Turn off "show overlap" by default since scroll mode can replace it
in most cases where "show overlap" is used. And the dimmed area often
make new users confused. It's better to leave this feature to more
advanced users.
pull/273/head
chrox 11 years ago
parent f12869d587
commit 0b7554b1d8

@ -30,6 +30,10 @@ DOUTER_PAGE_COLOR = 0
-- supported view mode includes: "scroll" and "page"
DCREREADER_VIEW_MODE = "page"
-- show dimmed area to indicate page overlap in "page" view mode,
-- default to false
DSHOWOVERLAP = false
-- koptreader config defaults
DKOPTREADER_CONFIG_FONT_SIZE = 1.0 -- range from 0.1 to 3.0
DKOPTREADER_CONFIG_TEXT_WRAP = 0 -- 1 = on, 0 = off

@ -5,7 +5,7 @@ ReaderPaging = InputContainer:new{
number_of_pages = 0,
visible_area = nil,
page_area = nil,
show_overlap_enable = true,
show_overlap_enable = DSHOWOVERLAP,
overlap = scaleByDPI(20),
flip_steps = {0,1,2,5,10,20,50,100}
}

Loading…
Cancel
Save