mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
PDF: align page view with target when following internal link (#8907)
This commit is contained in:
@@ -552,7 +552,7 @@ function ReaderLink:onGotoLink(link, neglect_current_location, allow_footnote_po
|
||||
if not neglect_current_location then
|
||||
self:addCurrentLocationToStack()
|
||||
end
|
||||
self.ui:handleEvent(Event:new("GotoPage", link.page + 1))
|
||||
self.ui:handleEvent(Event:new("GotoPage", link.page + 1, link.pos))
|
||||
return true
|
||||
end
|
||||
link_url = link.uri -- external link
|
||||
|
||||
Reference in New Issue
Block a user