[*][Genlist] Fixed the smart pan scrolling problem when a item reordered
authorYun ilkook <ilkook.yun@samsung.com>
Thu, 8 Sep 2011 06:53:42 +0000 (15:53 +0900)
committerYun ilkook <ilkook.yun@samsung.com>
Thu, 8 Sep 2011 06:53:42 +0000 (15:53 +0900)
Change-Id: Ife80a0d1576e3df6cf0f5d2635cc0317c39bd8c6

src/lib/elm_genlist.c

index 197afef..3112563 100644 (file)
@@ -2367,7 +2367,7 @@ _item_block_position(Item_Block *itb,
         y += it->h;
         minh += it->minh;
      }
-   itb->minh = minh;
+   if (!itb->wd->reorder_it) itb->minh = minh;
    evas_event_thaw(evas_object_evas_get(itb->wd->obj));
    evas_event_thaw_eval(evas_object_evas_get(itb->wd->obj));
 }