mirror of
https://github.com/koreader/koreader
synced 2024-11-13 19:11:25 +00:00
0dd3a1f8a1
which currently just sets free the limitation of panning gestures emitting rate. This should fix #1039 when unchecking the "E-ink optimization" in the "Screen settings".
15 lines
400 B
Lua
15 lines
400 B
Lua
local _ = require("gettext")
|
|
local Screen = require("device").screen
|
|
|
|
local eink = G_reader_settings:readSetting("eink")
|
|
Screen.eink = (eink == nil) and true or eink
|
|
|
|
return {
|
|
text = _("E-ink optimization"),
|
|
checked_func = function() return Screen.eink end,
|
|
callback = function()
|
|
Screen.eink = not Screen.eink
|
|
G_reader_settings:saveSetting("eink", Screen.eink)
|
|
end,
|
|
}
|