genlist: remove protection code - elm_config_finger_size_get
authorHyukSoon Choi <hs619.choi@samsung.com>
Thu, 9 Apr 2020 08:00:13 +0000 (17:00 +0900)
committerJongmin Lee <jm105.lee@samsung.com>
Fri, 17 Apr 2020 23:02:29 +0000 (08:02 +0900)
Change-Id: Id8bc2d2ffc236945b8b46ee10622158fb244bab0
Signed-off-by: HyukSoon Choi <hs619.choi@samsung.com>
src/wearable/circle/efl_extension_circle_object_genlist.c

index d1e660f30459704e97c7bdadae0c29a1d9b296ce..8e96ae16fba5439c552bffadda63400accef9f90 100644 (file)
@@ -414,14 +414,14 @@ _eext_circle_object_genlist_region_show(Eext_Circle_Object *circle_obj,
    //ONEUI1.5(15Oct2019): Finger scroll is possible when ch > h and in loop case
    //                         bezel scroll have to be supported to be in sync with
    //                         finger scroll behaviour
-   if (!loop_v && ch < h + elm_config_finger_size_get()) return;
+   if (!loop_v && ch < h) return;
    else if (loop_v && (ch < h)) return;
    //
 
    if (clockwise)
      {
         Elm_Object_Item *last_item = elm_genlist_last_item_get(circle_obj->widget_object);
-        if ((y + h + elm_config_finger_size_get()) >= ch && !loop_v)
+        if ((y + h) >= ch && !loop_v)
           {
              edje_object_signal_emit(elm_layout_edje_get(circle_obj->widget_object), SIGNAL_EDGE_BOTTOM_ROTARY_DETENTED, "elm");
              return;
@@ -892,7 +892,7 @@ _eext_circle_object_genlist_scrollbar_update(Eext_Circle_Object *circle_obj, Ein
    elm_scroller_child_size_get(circle_obj->widget_object, NULL, &ch);
    elm_scroller_region_get(circle_obj->widget_object, NULL, &py, NULL, &vh);
 
-   if (ch < vh + elm_config_finger_size_get())
+   if (ch < vh)
      {
         widget_data->bar_size_y = 0;
         _eext_circle_object_item_color_set(widget_data->item, 0, 0, 0, 0);