elm_widget: add logic for updating geometry after moving

Summary:
scrollable object.

In multiple scrollable case, the target object should be updated.
Because the first object is scrolled. So the parent of the first object should be scrolled.

Reviewers: woohyun, Hermet, jpeg, cedric, raster

Differential Revision: https://phab.enlightenment.org/D4490

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
This commit is contained in:
Hosang Kim 2016-12-16 15:24:00 -08:00 committed by Cedric BAIL
parent 0f65bde10c
commit 763478c091
1 changed files with 2 additions and 5 deletions

View File

@ -867,11 +867,8 @@ _elm_widget_focus_region_show(const Eo *obj, Elm_Widget_Smart_Data *_pd EINA_UNU
break;
}
if (!elm_widget_focus_region_get(o, &x, &y, &w, &h))
{
o = elm_widget_parent_get(o);
continue;
}
elm_widget_focus_region_get(o, &x, &y, &w, &h);
evas_object_geometry_get(o, &ox, &oy, NULL, NULL);
}
else
{