mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Merge pull request #2168 from koreader/houqp-master
scrolltextwidget(fix): add moveCursor method
This commit is contained in:
@@ -80,6 +80,10 @@ function ScrollTextWidget:focus()
|
||||
self.text_widget:focus()
|
||||
end
|
||||
|
||||
function ScrollTextWidget:moveCursor(x, y)
|
||||
self.text_widget:moveCursor(x, y)
|
||||
end
|
||||
|
||||
function ScrollTextWidget:scrollText(direction)
|
||||
if direction == 0 then return end
|
||||
local low, high
|
||||
|
||||
Reference in New Issue
Block a user