[*][Genlist] Fixed show region problem for scrolling propagation when the component...
authorYun ilkook <ilkook.yun@samsung.com>
Wed, 12 Oct 2011 09:03:22 +0000 (18:03 +0900)
committerYun ilkook <ilkook.yun@samsung.com>
Wed, 12 Oct 2011 09:03:22 +0000 (18:03 +0900)
Change-Id: Iac5e6784292492d909e3598bb51ce1c7f18fee42

src/lib/elm_genlist.c

index 95a4473..8de51f1 100644 (file)
@@ -659,7 +659,8 @@ _show_region_hook(void        *data,
    //x & y are screen coordinates, Add with pan coordinates
    x += wd->pan_x;
    y += wd->pan_y;
-   elm_smart_scroller_child_region_show(wd->scr, x, y, w, h);
+   if(wd->rename_it) elm_genlist_item_bring_in(wd->rename_it);
+   else elm_smart_scroller_child_region_show(wd->scr, x, y, w, h);
 }
 
 static void