git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@70358
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
if (!wd->anchor_item)
wd->anchor_item = ELM_GEN_ITEM_FROM_INLIST(EINA_INLIST_GET(it)->prev);
}
- if (wd->expanded_item == it) wd->expanded_item = NULL;
+ if (wd->expanded_item == it)
+ {
+ wd->expanded_item = NULL;
+ if (wd->tree_effect_animator)
+ {
+ ecore_animator_del(wd->tree_effect_animator);
+ wd->tree_effect_animator = NULL;
+ }
+ }
if (wd->expanded_next_item == it) wd->expanded_next_item = NULL;
if (it->parent)
it->parent->item->items = eina_list_remove(it->parent->item->items, it);