input: Fix TextInput cursor getting stuck on Down key press (#526)
## Before  ## After 
This commit is contained in:
parent
0cc6b90cde
commit
8b89b5ba7c
1 changed files with 1 additions and 1 deletions
|
|
@ -365,7 +365,7 @@ impl TextInput {
|
|||
let index_res = target_line.index_for_position(approx_pos, line_height);
|
||||
|
||||
let new_local_index = match index_res {
|
||||
Ok(i) => i,
|
||||
Ok(i) => i + 1,
|
||||
Err(i) => i,
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue