mirror of
https://github.com/koreader/koreader
synced 2024-10-31 21:20:20 +00:00
Bugfix: initialize show_overlap_enable flag
We must initialize show_overlap_enable to true in DJVUReader:setDefaults() method, otherwise it will be uninitialized on the first open of a DjVu file (i.e. with no history file).
This commit is contained in:
parent
bda58e1364
commit
e57730b128
@ -3,6 +3,7 @@ require "unireader"
|
||||
DJVUReader = UniReader:new{}
|
||||
|
||||
function DJVUReader:setDefaults()
|
||||
self.show_overlap_enable = true
|
||||
self.show_links_enable = false
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user