mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
remove unused onPageUpdate and onPosUpdate in readertoc
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
ReaderToc = InputContainer:new{
|
||||
toc_menu_title = "Table of contents",
|
||||
current_page = 0,
|
||||
current_pos = 0,
|
||||
}
|
||||
|
||||
function ReaderToc:init()
|
||||
@@ -87,14 +85,6 @@ function ReaderToc:onShowToc()
|
||||
UIManager:show(menu_container)
|
||||
end
|
||||
|
||||
function ReaderToc:onPageUpdate(new_page_no)
|
||||
self.current_page = new_page_no
|
||||
end
|
||||
|
||||
function ReaderToc:onPosUpdate(new_pos)
|
||||
self.current_pos = new_pos
|
||||
end
|
||||
|
||||
function ReaderToc:addToMainMenu(item_table)
|
||||
-- insert table to main reader menu
|
||||
table.insert(item_table, {
|
||||
|
||||
Reference in New Issue
Block a user