mirror of
https://github.com/koreader/koreader.git
synced 2026-11-29 08:42:31 +00:00
[FootnoteWidget]: NT use buttons to move to prev/next footnote (#15911)
This commit is contained in:
1 parent
fc88887662
commit
8aa7b93d7c
2 files changed
+29
-4
No files matched your search
@@ -1611,6 +1611,15 @@ function ReaderLink:showAsFootnotePopup(link, neglect_current_location)
|
||||
end
|
||||
self._footnote_popup_discard_previous_close_callback = nil
|
||||
end,
|
||||
navigate_footnote_callback = function(direction)
|
||||
UIManager:close(popup)
|
||||
if direction > 0 then
|
||||
self:onSelectNextPageLink()
|
||||
else
|
||||
self:onSelectPrevPageLink()
|
||||
end
|
||||
self:onGotoSelectedPageLink()
|
||||
end,
|
||||
dialog = self.dialog,
|
||||
}
|
||||
UIManager:show(popup)
|
||||
|
||||
Reference in new issue
Block a user