forked from enlightenment/efl
[elementary/elm_entry] Unnecessary codes are deleted.
"elm_smart_scroller_child_region_show" will be called in "_show_region_hook" after cursor is changed by "edje_object_part_text_cursor_end_set". SVN revision: 67686
This commit is contained in:
parent
d4a1037e63
commit
3b08459b61
|
@ -2754,14 +2754,7 @@ elm_entry_cursor_end_set(Evas_Object *obj)
|
|||
ELM_CHECK_WIDTYPE(obj, widtype);
|
||||
Widget_Data *wd = elm_widget_data_get(obj);
|
||||
if (!wd) return;
|
||||
int x, y, w, h;
|
||||
x = y = w = h = 1;
|
||||
edje_object_part_text_cursor_end_set(wd->ent, "elm.text", EDJE_CURSOR_MAIN);
|
||||
if (wd->scroll)
|
||||
{
|
||||
elm_widget_show_region_get(obj, &x, &y, &w, &h);
|
||||
elm_smart_scroller_child_region_show(wd->scroller, x, y, w, h);
|
||||
}
|
||||
}
|
||||
|
||||
EAPI void
|
||||
|
|
Loading…
Reference in New Issue