add gotoLocation for credocument

This commit is contained in:
chrox
2013-10-17 23:53:29 +08:00
parent 506dbed865
commit c86bb46ef7
3 changed files with 12 additions and 1 deletions

View File

@@ -325,4 +325,7 @@ function ReaderRolling:gotoPercent(new_percent)
self:gotoPos(new_percent * self.doc_height / 10000)
end
function ReaderRolling:onGotoPage(number)
self:gotoPage(number)
return true
end