elm genlist: Fixed genlist expandable effect bug when we expand/contract items with many children very quickly.

SVN revision: 70516
This commit is contained in:
Daniel Juyung Seo 2012-04-27 11:08:46 +00:00
parent 303cf84de7
commit 2d418589b0
1 changed files with 2 additions and 1 deletions

View File

@ -874,12 +874,13 @@ _item_del(Elm_Gen_Item *it)
}
if (wd->expanded_item == it)
{
wd->expanded_item = NULL;
if (wd->tree_effect_animator)
{
_item_tree_effect_finish(wd);
ecore_animator_del(wd->tree_effect_animator);
wd->tree_effect_animator = NULL;
}
wd->expanded_item = NULL;
wd->move_effect_mode = ELM_GENLIST_TREE_EFFECT_NONE;
}
if (wd->expanded_next_item == it) wd->expanded_next_item = NULL;