drop unused arg
This commit is contained in:
parent
6a5864e382
commit
76dbb4bd1e
2
text.lua
2
text.lua
|
@ -200,7 +200,7 @@ function Text.in_line(line, x,y)
|
||||||
return x >= 16 and y >= line.y and y < line.y+15*Zoom
|
return x >= 16 and y >= line.y and y < line.y+15*Zoom
|
||||||
end
|
end
|
||||||
|
|
||||||
function Text.move_cursor(line_index, line, x, hint)
|
function Text.move_cursor(line_index, line, x)
|
||||||
Cursor_line = line_index
|
Cursor_line = line_index
|
||||||
Cursor_pos = Text.nearest_cursor_pos(line.data, x)
|
Cursor_pos = Text.nearest_cursor_pos(line.data, x)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue