lift TOC entry in navi tab
This commit is contained in:
1 parent
492a36a7da
commit
c5def15558
1 file changed
+2
-2
@@ -99,7 +99,7 @@ function ReaderToc:getTocTitleOfCurrentPage()
|
||||
end
|
||||
|
||||
function ReaderToc:_getChapterPagesLeft(pageno,pages)
|
||||
local i
|
||||
local i
|
||||
local j = 0
|
||||
|
||||
if not self.toc then
|
||||
@@ -288,7 +288,7 @@ end
|
||||
|
||||
function ReaderToc:addToMainMenu(tab_item_table)
|
||||
-- insert table to main reader menu
|
||||
table.insert(tab_item_table.navi, {
|
||||
table.insert(tab_item_table.navi, 1, {
|
||||
text = self.toc_menu_title,
|
||||
callback = function()
|
||||
self:onShowToc()
|
||||
|
||||
Reference in new issue
Block a user