Keyboard: detect tap if swipes are disabled (#11699)

Discussed in #11668.
reviewable/pr11721/r1
hius07 1 week ago committed by GitHub
parent caea0e8fb2
commit f5be04a738
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -437,7 +437,9 @@ function VirtualKey:onHoldSelect()
end
function VirtualKey:onSwipeKey(arg, ges)
if G_reader_settings:isFalse("keyboard_swipes_enabled") then return true end
if G_reader_settings:isFalse("keyboard_swipes_enabled") then
return self:onTapSelect()
end
Device:performHapticFeedback("KEYBOARD_TAP")
if self.flash_keyboard then
self:invert(true)

Loading…
Cancel
Save