mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-26 22:09:43 +03:00
Fix internal caret redraw bounds.
This commit is contained in:
parent
18444f261a
commit
fa2d5cf62c
@ -1243,7 +1243,7 @@ bool textarea_set_caret(struct textarea *ta, int caret)
|
||||
/* Delete the old caret */
|
||||
if (ta->caret_pos.char_off != -1) {
|
||||
x0 = ta->caret_x - ta->scroll_x;
|
||||
y0 = ta->caret_y + text_y_offset - ta->scroll_y;
|
||||
y0 = ta->caret_y - ta->scroll_y;
|
||||
width = 2;
|
||||
height = ta->line_height;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user