[Panel] initialize repeat_events when scrollable is set 47/118347/2
authorSungtaek Hong <sth253.hong@samsung.com>
Thu, 9 Mar 2017 05:05:13 +0000 (14:05 +0900)
committerSungtaek Hong <sth253.hong@samsung.com>
Fri, 10 Mar 2017 05:38:49 +0000 (21:38 -0800)
 - In Non-scrollable panel, repeat_events is changed
   during _panel_toggle, while scrollable panel is not.
 - elm_panel_scrollable_set() should initialize repeat_events

@tizen_fix

Change-Id: I336dbd14313859aa935d9fa7ad58ee6846127de6
Signed-off-by: Sungtaek Hong <sth253.hong@samsung.com>
src/lib/elm_panel.c

index 079fa96c0488df274b2d7bc54509428e78b6877e..f3b1bffe61c0be04f6aa5ee766d40dc0aec20de8 100644 (file)
@@ -1456,6 +1456,9 @@ _elm_panel_scrollable_set(Eo *obj, Elm_Panel_Data *sd, Eina_Bool scrollable)
 
    if (scrollable)
      {
+        // TIZEN_ONLY(20170309): initialize repeat_events when scrollable is set.
+        evas_object_repeat_events_set(obj, EINA_FALSE);
+        //
         elm_layout_content_unset(obj, "elm.swallow.content");
 
         elm_widget_resize_object_set(obj, NULL, EINA_TRUE);