[FootnoteWidget]: NT use buttons to move to prev/next footnote (#15911)

This commit is contained in:
David authored and GitHub committed 2026-08-23 14:39:24 +01:00
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)