summaryrefslogtreecommitdiff
path: root/legacy/elm_code/src/lib
diff options
context:
space:
mode:
authorAndy Williams <andy@andywilliams.me>2016-04-07 16:27:20 +0100
committerAndy Williams <andy@andywilliams.me>2016-04-07 16:27:20 +0100
commitac2297e736dab95a23a253e49bcfad8196e397a7 (patch)
treead12441fc35c0423783cb012b0b16f952fed2a0b /legacy/elm_code/src/lib
parenta1a9064a1663ea15db6f26d6c7f08164c82ff8d2 (diff)
[editor] fix line geometry when scrolled
Diffstat (limited to '')
-rw-r--r--legacy/elm_code/src/lib/widget/elm_code_widget.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/legacy/elm_code/src/lib/widget/elm_code_widget.c b/legacy/elm_code/src/lib/widget/elm_code_widget.c
index a5ca616f3d..7c4d681ee5 100644
--- a/legacy/elm_code/src/lib/widget/elm_code_widget.c
+++ b/legacy/elm_code/src/lib/widget/elm_code_widget.c
@@ -633,7 +633,7 @@ _elm_code_widget_position_at_coordinates_get(Elm_Code_Widget *widget, Elm_Code_W
633 { 633 {
634 evas_object_geometry_get(grid, NULL, &rowy, NULL, NULL); 634 evas_object_geometry_get(grid, NULL, &rowy, NULL, NULL);
635 635
636 if (rowy - oy < y) 636 if (rowy + sy - oy < y)
637 break; 637 break;
638 638
639 number--; 639 number--;