forked from enlightenment/efl
genlist : missing scrollto_bottom condition in item_scroll is fixed.
Summary: 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. Test Plan: elementary_test Reviewers: Hermet, eagleeye Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7035
This commit is contained in:
parent
82060c5798
commit
7901d145c5
|
@ -651,6 +651,10 @@ _item_scroll(Elm_Genlist_Data *sd)
|
||||||
dy += ((it->item->h / 2) - (oh / 2));
|
dy += ((it->item->h / 2) - (oh / 2));
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case ELM_GENLIST_ITEM_SCROLLTO_BOTTOM:
|
||||||
|
dy += (it->item->h - oh);
|
||||||
|
break;
|
||||||
|
|
||||||
case ELM_GENLIST_ITEM_SCROLLTO_IN:
|
case ELM_GENLIST_ITEM_SCROLLTO_IN:
|
||||||
default:
|
default:
|
||||||
if ((sd->expanded_item) &&
|
if ((sd->expanded_item) &&
|
||||||
|
|
Loading…
Reference in New Issue