forked from enlightenment/efl
genlist tree items now animate their collapse properly when there are fewer items than the maximum size of the viewport allows
SVN revision: 71508
This commit is contained in:
parent
b9f0a6d736
commit
5c725cf60c
|
@ -119,3 +119,4 @@
|
||||||
|
|
||||||
* Prepending items to a genlist no longer causes the selected item to
|
* Prepending items to a genlist no longer causes the selected item to
|
||||||
scroll out of the viewport
|
scroll out of the viewport
|
||||||
|
* Collapsing tree items in genlist now animate properly
|
||||||
|
|
|
@ -6209,7 +6209,7 @@ _tree_effect_animator_cb(void *data)
|
||||||
}
|
}
|
||||||
else if (wd->move_effect_mode == ELM_GENLIST_TREE_EFFECT_CONTRACT)
|
else if (wd->move_effect_mode == ELM_GENLIST_TREE_EFFECT_CONTRACT)
|
||||||
{
|
{
|
||||||
if (expanded_next_it->item->scrl_y >= expanded_next_it->item->old_scrl_y) //did not calculate next item position
|
if (expanded_next_it->item->scrl_y > expanded_next_it->item->old_scrl_y) //did not calculate next item position
|
||||||
expanded_next_it->item->old_scrl_y = cvy + cvh;
|
expanded_next_it->item->old_scrl_y = cvy + cvh;
|
||||||
|
|
||||||
if (expanded_next_it->item->old_scrl_y > (cvy + cvh))
|
if (expanded_next_it->item->old_scrl_y > (cvy + cvh))
|
||||||
|
|
Loading…
Reference in New Issue