PDF: align page view with target when following internal link (#8907)
This commit is contained in:
1 parent
f8eca5fa03
commit
eb34fbb818
2 files changed
+16
-2
No files matched your search
@@ -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