From 282bb1a2c65d2fd802d4c1d7f6da01a806c3050a Mon Sep 17 00:00:00 2001 From: Yun ilkook Date: Wed, 12 Oct 2011 18:03:22 +0900 Subject: [PATCH] [*][Genlist] Fixed show region problem for scrolling propagation when the component have another object Change-Id: Iac5e6784292492d909e3598bb51ce1c7f18fee42 --- src/lib/elm_genlist.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/elm_genlist.c b/src/lib/elm_genlist.c index 95a4473..8de51f1 100644 --- a/src/lib/elm_genlist.c +++ b/src/lib/elm_genlist.c @@ -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 -- 2.7.4