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.
This commit is contained in:
Hermet Park 2016-08-23 09:07:40 +09:00
parent 30c32488e0
commit 63f3fae337
1 changed files with 2 additions and 0 deletions

View File

@ -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);