forked from enlightenment/efl
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:
parent
0f65bde10c
commit
763478c091
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue