virtualkeyboard: get tap if swipe disabled

reviewable/pr11699/r1
hius07 1 month ago committed by GitHub
parent bfc84795c8
commit 8c4fc5cb9c
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