[Issue Fix] Wrong animation when genlist items fold (contract).
authorprince <prince.dubey@samsung.com>
Tue, 24 Jul 2012 12:29:27 +0000 (17:59 +0530)
committerprince <prince.dubey@samsung.com>
Tue, 24 Jul 2012 12:29:27 +0000 (17:59 +0530)
src/lib/elm_genlist.c

index 6462212..aa099e1 100644 (file)
@@ -6640,7 +6640,7 @@ _tree_effect_animator_cb(void *data)
                }
              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;
 
                   if (expanded_next_it->item->old_scrl_y > (cvy + cvh))