Revert "entry: fix scroll region jumping issue"
authorYoungbok Shin <youngb.shin@samsung.com>
Tue, 15 Nov 2016 10:32:09 +0000 (19:32 +0900)
committerTaehyub Kim <taehyub.kim@samsung.com>
Tue, 29 Nov 2016 12:32:31 +0000 (21:32 +0900)
This reverts commit 451c2b63e0845b44c8fb17667a4cb757adf0c65d.

Change-Id: I796d7ef36e723de0bc6acfc03076cbfc0381de9b

src/lib/elm_entry.c

index 7ba0fc1..7e28816 100644 (file)
@@ -2289,13 +2289,8 @@ _elm_entry_elm_widget_on_focus_region(Eo *obj EINA_UNUSED, Elm_Entry_Data *sd, E
    Evas_Coord edx, edy;
    Evas_Coord elx, ely, elw, elh;
 
-   /* TIZEN_ONLY(20161110): fix scroll region jumping issue
    edje_object_part_text_cursor_geometry_get
      (sd->entry_edje, "elm.text", &cx, &cy, &cw, &ch);
-    */
-   edje_object_part_text_cursor_on_mouse_geometry_get
-     (sd->entry_edje, "elm.text", &cx, &cy, &cw, &ch);
-   /* END */
 
    if (sd->single_line)
      {
@@ -2331,14 +2326,7 @@ _show_region_hook(void *data EINA_UNUSED,
 {
    Evas_Coord x, y, w, h;
 
-   /* TIZEN_ONLY(20161110): fix scroll region jumping issue
    elm_widget_show_region_get(obj, &x, &y, &w, &h);
-    */
-   ELM_ENTRY_DATA_GET(obj, sd);
-
-   edje_object_part_text_cursor_geometry_get
-     (sd->entry_edje, "elm.text", &x, &y, &w, &h);
-   /* END */
 
    eo_do(obj, elm_interface_scrollable_content_region_show(x, y, w, h));
 }