mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
check link on the fly when tapping
This commit is contained in:
@@ -233,6 +233,10 @@ function CreDocument:getPageLinks()
|
||||
return self._document:getPageLinks()
|
||||
end
|
||||
|
||||
function CreDocument:getLinkFromPosition(pos)
|
||||
return self._document:getLinkFromPosition(pos.x, pos.y)
|
||||
end
|
||||
|
||||
function Document:gotoPos(pos)
|
||||
DEBUG("CreDocument: goto position", pos)
|
||||
self._document:gotoPos(pos)
|
||||
|
||||
Reference in New Issue
Block a user