mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
[Fix] Make ScrollTextWidget:moveCursor return the new charpos. (#3808)
This commit is contained in:
committed by
Frans de Jonge
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)
|
||||
|
||||
Reference in New Issue
Block a user