mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Really disable double tap when 'disable_double_tap' is set
Closes #1594
This commit is contained in:
@@ -316,7 +316,7 @@ function GestureDetector:handleDoubleTap(tev)
|
||||
timev = tev.timev,
|
||||
}
|
||||
|
||||
if self.last_taps[slot] ~= nil and
|
||||
if not self.input.disable_double_tap and self.last_taps[slot] ~= nil and
|
||||
self:isDoubleTap(self.last_taps[slot], cur_tap) then
|
||||
-- it is a double tap
|
||||
self:clearState(slot)
|
||||
|
||||
Reference in New Issue
Block a user