2
0
mirror of https://github.com/koreader/koreader synced 2024-10-31 21:20:20 +00:00

add comment for viewmode definition

This commit is contained in:
Qingping Hou 2012-12-11 02:45:49 +08:00
parent 6d46e24615
commit 91a959643a

View File

@ -84,6 +84,7 @@ function CREReader:open(filename)
end
local style_sheet = "./data/"..file_type..".css"
-- default to scroll mode, which is 0
-- this is defined in kpvcrlib/crengine/crengine/include/lvdocview.h
local view_mode = 0
if self.view_mode == "page" then
view_mode = 1