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
@@ -169,6 +169,7 @@ function KoptInterface:getContextHash(doc, pageno, bbox, hash_list)
|
||||
local canvas_size = CanvasContext:getSize()
|
||||
table.insert(hash_list, doc.file)
|
||||
table.insert(hash_list, doc.mod_time)
|
||||
table.insert(hash_list, doc.render_color and 'color' or 'bw')
|
||||
table.insert(hash_list, pageno)
|
||||
doc.configurable:hash(hash_list)
|
||||
table.insert(hash_list, bbox.x0)
|
||||
|
||||
Reference in New Issue
Block a user