mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
save and restore gamma_index for crengine
This commit is contained in:
@@ -277,6 +277,10 @@ function CreDocument:toggleFontBolder()
|
||||
self._document:toggleFontBolder()
|
||||
end
|
||||
|
||||
function CreDocument:setGammaIndex(index)
|
||||
cre.setGammaIndex(index)
|
||||
end
|
||||
|
||||
DocumentRegistry:addProvider("txt", "application/txt", CreDocument)
|
||||
DocumentRegistry:addProvider("epub", "application/epub", CreDocument)
|
||||
DocumentRegistry:addProvider("html", "application/html", CreDocument)
|
||||
|
||||
Reference in New Issue
Block a user