elm_interface_scrollable: fix bug about scroll smart callback. 45/82845/3
authorHosang Kim <hosang12.kim@samsung.com>
Mon, 8 Aug 2016 06:26:34 +0000 (15:26 +0900)
committerJaehyun Cho <jae_hyun.cho@samsung.com>
Mon, 8 Aug 2016 12:21:31 +0000 (05:21 -0700)
when application uses region show func,
"elm,action,scroll,*" smart callback is not called.

Signed-off-by: Hosang Kim <hosang12.kim@samsung.com>
Change-Id: If0be59e985a2cbfc3c6a6679e439e3b91a807df9

src/lib/elm_interface_scrollable.c

index 80936f1..18c77ac 100644 (file)
@@ -1859,9 +1859,7 @@ _elm_interface_scrollable_content_region_show(Eo *obj, Elm_Scrollable_Smart_Inte
    sid->wh = h;
    if (_elm_scroll_content_region_show_internal(obj, &x, &y, w, h))
      {
-        // TIZEN_ONLY(20160624): Overscroll effect
-        eo_do(obj, elm_interface_scrollable_content_pos_set(x, y, EINA_FALSE));
-        //
+        eo_do(obj, elm_interface_scrollable_content_pos_set(x, y, EINA_TRUE));
         sid->down.sx = x;
         sid->down.sy = y;
         sid->down.x = sid->down.history[0].x;