mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
don't consume swipe gesture event in readerlink
if location stack is empty
This commit is contained in:
@@ -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