elm_code_widget: Fix cursor position sync.

The scroller was causing the cursor to be out of sync with the
widget content. This fixes that.
This commit is contained in:
Alastair Poole 2020-01-01 23:16:25 +00:00
parent e3b77fcff8
commit 072ff46aa2
1 changed files with 1 additions and 0 deletions

View File

@ -800,6 +800,7 @@ _elm_code_widget_geometry_for_position_get(Elm_Code_Widget *widget, Elm_Code_Wid
gutter = efl_ui_code_widget_text_left_gutter_width_get(widget);
grid = eina_list_nth(pd->grids, row - 1);
evas_object_smart_calculate(pd->scroller);
evas_object_smart_calculate(pd->gridbox);
evas_object_geometry_get(grid, x, y, NULL, NULL);