Skip to content

Commit f75fdd2

Browse files
committed
[fix] inline ab equals cursor fixed
1 parent 78c561b commit f75fdd2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ui/textbox/widget.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1527,7 +1527,7 @@ void ekg::ui::buffering(
15271527
}
15281528

15291529
if (is_ab_equals_selected) {
1530-
cursor.rect.x = pos.x + end_cursor_position;
1530+
cursor.rect.x = pos.x + glyph.left + end_cursor_position;
15311531
cursor.rect.y = pos.y;
15321532
cursor.rect.w = textbox.color_scheme.caret_cursor ? glyph_wsize : textbox.color_scheme.cursor_thickness;
15331533
cursor.rect.h = textbox.widget.rect_text_size.h;

0 commit comments

Comments
 (0)