chore: update deps

This commit is contained in:
2025-11-15 14:51:16 +07:00
parent 122299f548
commit 67c92cb319
7 changed files with 83 additions and 76 deletions

View File

@@ -1655,7 +1655,7 @@ impl InputState {
// Return offset by use closest_index_for_x if is single line mode.
if self.mode.is_single_line() {
return rendered_line.unwrapped_layout.index_for_x(pos.x);
return rendered_line.unwrapped_layout.index_for_x(pos.x).unwrap();
}
let index_result = rendered_line.index_for_position(pos, line_height);