ELM_GENLIST_ITEM_SCROLLTO_BOTTOM condition is considered in coordinate_calc,
but not considered in item_scroll which calls deferred for item calculation.
so put the proper condition for ELM_GENLIST_ITEM_SCROLLTO_BOTTOM in item scroll.
this is port of upstream patch D7035
Change-Id: I2b5606c9eee9a7dac31d5aa75598ac0a52f66387
Signed-off-by: SangHyeon Jade Lee <sh10233.lee@samsung.com>
dy += ((it->item->h / 2) - (oh / 2));
break;
+ case ELM_GENLIST_ITEM_SCROLLTO_BOTTOM:
+ dy += (it->item->h - oh);
+ break;
+
case ELM_GENLIST_ITEM_SCROLLTO_IN:
default:
if ((sd->expanded_item) &&