forked from enlightenment/efl
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:
parent
e3b77fcff8
commit
072ff46aa2
|
@ -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);
|
gutter = efl_ui_code_widget_text_left_gutter_width_get(widget);
|
||||||
|
|
||||||
grid = eina_list_nth(pd->grids, row - 1);
|
grid = eina_list_nth(pd->grids, row - 1);
|
||||||
|
evas_object_smart_calculate(pd->scroller);
|
||||||
evas_object_smart_calculate(pd->gridbox);
|
evas_object_smart_calculate(pd->gridbox);
|
||||||
evas_object_geometry_get(grid, x, y, NULL, NULL);
|
evas_object_geometry_get(grid, x, y, NULL, NULL);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue