mirror of
https://github.com/koreader/koreader
synced 2024-10-31 21:20:20 +00:00
[Fix] Make ScrollTextWidget:moveCursor return the new charpos. (#3808)
This commit is contained in:
parent
e21fe55042
commit
f36d93a8f7
@ -93,7 +93,7 @@ function ScrollTextWidget:focus()
|
||||
end
|
||||
|
||||
function ScrollTextWidget:moveCursor(x, y)
|
||||
self.text_widget:moveCursor(x, y)
|
||||
return self.text_widget:moveCursor(x, y)
|
||||
end
|
||||
|
||||
function ScrollTextWidget:scrollText(direction)
|
||||
|
Loading…
Reference in New Issue
Block a user