Merge pull request #2168 from koreader/houqp-master
scrolltextwidget(fix): add moveCursor method
This commit is contained in:
commit
06bd4d7afc
1 file changed
+4
@@ -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