Update readerfrontlight.lua

Frontlight decrease of sensitivity for two-fingered pan gesture
pull/641/head
Markismus 10 years ago
parent 8120dd20f5
commit bf4199e995

@ -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}, steps = {0,1,1,1,1,2,2,2,3,4,5,6,7,8,9,10},
gestureScale = Screen:getWidth() * FRONTLIGHT_SENSITIVITY_DECREASE, gestureScale = Screen:getWidth() * FRONTLIGHT_SENSITIVITY_DECREASE,
} }
function ReaderFrontLight:init() function ReaderFrontLight:init()
if Device:isTouchDevice() then if Device:isTouchDevice() then
self.ges_events = { self.ges_events = {

Loading…
Cancel
Save