mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Allow for toggling color rendering
New menu item in Screen submenu. hasColorScreen enabled for SDL device.
This commit is contained in:
@@ -530,6 +530,10 @@ function ReaderRolling:onChangeScreenMode(mode)
|
||||
self:onUpdatePos()
|
||||
end
|
||||
|
||||
function ReaderRolling:onColorRenderingUpdate()
|
||||
self.ui.document:updateColorRendering()
|
||||
end
|
||||
|
||||
--[[
|
||||
PosUpdate event is used to signal other widgets that pos has been changed.
|
||||
--]]
|
||||
|
||||
Reference in New Issue
Block a user