Summary: Genlist/gengrid object geometry was used before this patch but using the pan object geometry is more correct. This can be reproduced when the size of "elm.swallow.content" part is smaller then the size of scroller object, focus animtaion on items is jerky.
Reviewers: raster, seoz, singh.amitesh
CC: nirajkr
Differential Revision: https://phab.enlightenment.org/D818
{
Evas_Coord ox, oy, oh, ow, item_x = 0, item_y = 0, item_w = 0, item_h = 0;
- evas_object_geometry_get(obj, &ox, &oy, &ow, &oh);
+ evas_object_geometry_get(sd->pan_obj, &ox, &oy, &ow, &oh);
if (sd->focused_item)
{
{
Evas_Coord ox, oy, oh, item_x = 0, item_y = 0, item_w = 0, item_h = 0;
- evas_object_geometry_get(obj, &ox, &oy, NULL, &oh);
+ evas_object_geometry_get(sd->pan_obj, &ox, &oy, NULL, &oh);
if (sd->focused_item)
{