Revert "[Genlist] skip pan obj coord when height is 0" 39/108439/1
authorSangHyeon Lee <sh10233.lee@samsung.com>
Mon, 2 Jan 2017 08:18:31 +0000 (17:18 +0900)
committerSangHyeon Lee <sh10233.lee@samsung.com>
Wed, 4 Jan 2017 09:51:24 +0000 (01:51 -0800)
This reverts commit 75b7441271063672dfd477cd4e98b445234b218b.

Change-Id: Idf03c708edbb0b955e1b6bc806ae46e6851eb091
(cherry picked from commit b48374e92a045da7a9c9f7c4d186038d5802cdea)

src/mobile_lib/elm_genlist.c

index 1856c94e18383f54f30ced02ae2958a69383b6c2..5b8fa06a25215fada57dda142f2746032eab4521 100644 (file)
@@ -2625,22 +2625,12 @@ _elm_genlist_pan_evas_object_smart_calculate(Eo *obj, Elm_Genlist_Pan_Data *psd)
           }
         psd->wsd->expanded_item = NULL;
      }
-   /* TIZEN_ONLY(20161230): skip coord calculation when pan obj height is 0.
    if (psd->wsd->show_item &&
        !psd->wsd->show_item->item->queued &&
        psd->wsd->show_item->item->calc_done &&
        psd->wsd->show_item->item->block->calc_done &&
        psd->wsd->calc_done)
      {
-   */
-   if (psd->wsd->show_item &&
-       !psd->wsd->show_item->item->queued &&
-       psd->wsd->show_item->item->calc_done &&
-       psd->wsd->show_item->item->block->calc_done &&
-       psd->wsd->calc_done &&
-       (oh > 0))
-     {
-   /*   END   */
         Evas_Coord x, y;
         Elm_Gen_Item *it = psd->wsd->show_item;
         psd->wsd->show_item = NULL;