don't consume swipe gesture event in readerlink
if location stack is empty
This commit is contained in:
1 parent
61b6896391
commit
2fa8ebb7c4
1 file changed
+1
-1
@@ -143,8 +143,8 @@ function ReaderLink:onGoBackLink()
|
||||
local saved_location = table.remove(self.location_stack)
|
||||
if saved_location then
|
||||
self.ui:handleEvent(Event:new('RestoreBookLocation', saved_location))
|
||||
return true
|
||||
end
|
||||
return true
|
||||
end
|
||||
|
||||
function ReaderLink:onSwipe(_, ges)
|
||||
|
||||
Reference in new issue
Block a user