show both reader menu and config menu when tapping top

So the bottom tap zone is optional now and will be removed by default
in the future.
This commit is contained in:
chrox
2013-12-27 21:47:08 +08:00
parent e5de29bfbd
commit 32cd7b2a88
4 changed files with 4 additions and 13 deletions

View File

@@ -76,7 +76,7 @@ function ReaderMenu:setUpdateItemTable()
})
end
function ReaderMenu:onShowMenu()
function ReaderMenu:onShowReaderMenu()
if #self.tab_item_table.main == 0 then
self:setUpdateItemTable()
end
@@ -125,7 +125,8 @@ function ReaderMenu:onShowMenu()
end
function ReaderMenu:onTapShowMenu()
self:onShowMenu()
self.ui:handleEvent(Event:new("ShowConfigMenu"))
self.ui:handleEvent(Event:new("ShowReaderMenu"))
return true
end