ReaderGesture: cleanup (#6292)

convert all gesture actions to use events for better modularity
add network event handlers and device event handlers
This commit is contained in:
yparitcher
2020-07-12 14:47:49 -04:00
committed by GitHub
parent f4dad2fae8
commit 70f89c4df1
26 changed files with 585 additions and 595 deletions

View File

@@ -326,7 +326,7 @@ function ReaderPageMap:addToMainMenu(menu_items)
self.ui.doc_settings:saveSetting("pagemap_use_page_labels", self.use_page_labels)
-- Reset a few stuff that may use page labels
self.ui.toc:resetToc()
self.ui.view.footer:updateFooter()
self.ui.view.footer:onUpdateFooter()
UIManager:setDirty(self.view.dialog, "partial")
end,
hold_callback = function(touchmenu_instance)