add option to turn off e-ink optimization

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".
This commit is contained in:
chrox
2014-11-06 13:16:35 +08:00
parent f0fba63f67
commit 0dd3a1f8a1
5 changed files with 18 additions and 3 deletions

View File

@@ -139,7 +139,7 @@ function ReaderRolling:initGesListener()
w = Screen:getWidth(),
h = Screen:getHeight(),
},
rate = 4.0,
rate = Screen.eink and 4.0 or nil,
}
},
DoubleTapForward = {