From 63f3fae3376135ff3b773dc94e9284f1d08fec33 Mon Sep 17 00:00:00 2001 From: Hermet Park Date: Tue, 23 Aug 2016 09:07:40 +0900 Subject: [PATCH] edj_viewer: fix the invalid size of part highlight for the text part. My previous patch made a side effect that part highting size wont be correct for the text part. For now, disable the logic. --- src/lib/edj_viewer.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib/edj_viewer.c b/src/lib/edj_viewer.c index 533f224..0687e93 100644 --- a/src/lib/edj_viewer.c +++ b/src/lib/edj_viewer.c @@ -249,6 +249,7 @@ part_obj_geom_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj, evas_object_resize(part_highlight, w, h); evas_object_clip_set(part_highlight, clipper); } +#if 0 else if (type == EDJE_PART_TYPE_TEXT) { Evas_Coord lx, ly; @@ -258,6 +259,7 @@ part_obj_geom_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj, evas_object_resize(part_highlight, w, h); evas_object_move(part_highlight, lx + x, ly + y); } +#endif else { evas_object_geometry_get(obj, &x, &y, &w, &h);