From cc449687cadea875cfa8c45f0997f67ac8e25d4a Mon Sep 17 00:00:00 2001 From: SangHyeon Lee Date: Thu, 4 Feb 2016 10:01:48 +0900 Subject: [PATCH] genlist: remove unnecessary group item controls tizen UI didn't support group item moving in scroll. this feature is not tizen UX, so remove unnecessary group move calculation and fix reorder group issue in TSAM-956(Jira) @tizen_fix Change-Id: I669cf995ef0401d9ba6a6cd8d58a1aacc673575a --- src/lib/elm_genlist.c | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/lib/elm_genlist.c b/src/lib/elm_genlist.c index 171a922..95cab79 100644 --- a/src/lib/elm_genlist.c +++ b/src/lib/elm_genlist.c @@ -2201,7 +2201,6 @@ _reorder_move_animator_cb(void *data) (it, it->deco_all_view, it->item->scrl_x, it->item->old_scrl_y); else _item_position(it, VIEW(it), it->item->scrl_x, it->item->old_scrl_y); - _group_items_recalc(sd); if ((sd->reorder_pan_move) || (down && it->item->old_scrl_y >= it->item->scrl_y) || @@ -2310,18 +2309,6 @@ _item_block_position(Item_Block *itb, { if (sd->reorder_mode) y += _reorder_item_space_get(it); - git = it->item->group_item; - if (git) - { - if (git->item->scrl_y < oy) - git->item->scrl_y = oy; - if ((git->item->scrl_y + git->item->h) > - (it->item->scrl_y + it->item->h)) - git->item->scrl_y = (it->item->scrl_y + - it->item->h) - git->item->h; - git->item->scrl_x = it->item->scrl_x; - git->item->want_realize = EINA_TRUE; - } if ((sd->reorder_it) && (it->item->old_scrl_y != it->item->scrl_y)) { -- 2.7.4