don't consume swipe gesture event in readerlink

if location stack is empty
pull/2218/head
chrox 8 years ago
parent 61b6896391
commit 2fa8ebb7c4

@ -143,9 +143,9 @@ function ReaderLink:onGoBackLink()
local saved_location = table.remove(self.location_stack)
if saved_location then
self.ui:handleEvent(Event:new('RestoreBookLocation', saved_location))
end
return true
end
end
function ReaderLink:onSwipe(_, ges)
if ges.direction == "east" and swipe_to_go_back() then

Loading…
Cancel
Save