mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
kopt: color support
Keep colors when reflowing documents.
This commit is contained in:
committed by
Frans de Jonge
parent
cb002f3d1f
commit
0c17941ffb
@@ -25,7 +25,6 @@ local function validDjvuFile(filename)
|
||||
end
|
||||
|
||||
function DjvuDocument:init()
|
||||
self:updateColorRendering()
|
||||
local djvu = require("libs/libkoreader-djvu")
|
||||
self.koptinterface = require("document/koptinterface")
|
||||
self.koptinterface:setDefaultConfigurable(self.configurable)
|
||||
@@ -38,6 +37,7 @@ function DjvuDocument:init()
|
||||
if not ok then
|
||||
error(self._document) -- will contain error message
|
||||
end
|
||||
self:updateColorRendering()
|
||||
self.is_open = true
|
||||
self.info.has_pages = true
|
||||
self.info.configurable = true
|
||||
|
||||
Reference in New Issue
Block a user