genlist/gengrid: Use pan object geometry for focus highlight calculation
authorAnil Kumar Nahak <ak.nahak@samsung.com>
Fri, 9 May 2014 16:07:57 +0000 (01:07 +0900)
committerDaniel Juyung Seo <seojuyung2@gmail.com>
Fri, 9 May 2014 16:07:58 +0000 (01:07 +0900)
commit9d1813f7eefad45c665c81a669a4a35cf270259a
tree08602d20a52adae4a01da6ddb29f023caf671af5
parent40a3850ee2fed27d1f8dedd345eef9b6d749053a
genlist/gengrid: Use pan object geometry for focus highlight calculation

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
legacy/elementary/src/lib/elm_gengrid.c
legacy/elementary/src/lib/elm_genlist.c