Update readerfrontlight.lua

Frontlight decrease of sensitivity for two-fingered pan gesture
This commit is contained in:
Markismus
2014-06-11 20:52:45 +02:00
parent 8120dd20f5
commit bf4199e995

View File

@@ -13,6 +13,7 @@ local ReaderFrontLight = InputContainer:new{
steps = {0,1,1,1,1,2,2,2,3,4,5,6,7,8,9,10},
gestureScale = Screen:getWidth() * FRONTLIGHT_SENSITIVITY_DECREASE,
}
function ReaderFrontLight:init()
if Device:isTouchDevice() then
self.ges_events = {