[Scrollable] Go To Top Feature
authorGodly Thekkethottiyil Alias <godly.talias@samsung.com>
Thu, 6 Feb 2020 15:32:44 +0000 (21:02 +0530)
committerJaehyun Cho <jae_hyun.cho@samsung.com>
Thu, 13 Feb 2020 10:51:31 +0000 (19:51 +0900)
[Model] Noblesse
[BinType] N/A
[Customer] N/A
[Issue#] FWGOVERSEA-1775
[Request] UX
[Occurrence Version] N/A
[Problem] N/A
[Cause & Measure] N/A
[Checking Method] N/A
[Team] (UIFW/EFL)
[Developer] Godly T.Alias
[Solution company] Samsung
[Change Type] New Feature

Change-Id: Id2bf699ccf6736cabdec0f62d2cae3180e348521
Signed-off-by: Godly Thekkethottiyil Alias <godly.talias@samsung.com>
src/wearable/circle/efl_extension_circle_object_scroller.c

index 42c73f1b8e506d87c00198bcc7473b73b599c6da..223f760bcf9cddd60f6ae3f52cb3a5e4e01ed6f5 100644 (file)
@@ -1573,24 +1573,18 @@ eext_circle_object_scroller_gototop_enable_set(Evas_Object *obj, Eina_Bool enabl
    if (!obj) return;
 
    EEXT_CIRCLE_OBJECT_SCROLLER_SCROLL_IFACE_DATA_GET(obj, sid);
-   Evas_Object *edje_obj = elm_layout_edje_get(obj);
 
    if (enable)
      {
-        sid->is_gotop_shown = EINA_FALSE;
         sid->is_gotop_enabled = EINA_TRUE;
         sid->gototop_cb = func;
-        if (sid->gotop_clipper) evas_object_del(sid->gotop_clipper);
-        sid->gotop_clipper = NULL;
      }
    else
      {
-        if (sid->gotop_clipper) evas_object_del(sid->gotop_clipper);
-        sid->gotop_clipper = NULL;
         sid->is_gotop_enabled = EINA_FALSE;
         sid->gototop_cb = NULL;
-        sid->is_gotop_shown = EINA_FALSE;
      }
+   sid->is_gotop_shown = EINA_FALSE;
 }
 //