From: raster Date: Sat, 1 May 2010 12:40:27 +0000 (+0000) Subject: use part geom for map - better for text.. oh yeah. X-Git-Tag: submit/2.0alpha-wayland/20121127.221958~1295 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=85ce28ea288ea5a655627b40278957c117c86065;p=profile%2Fivi%2Fedje.git use part geom for map - better for text.. oh yeah. git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@48498 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/edje_calc.c b/src/lib/edje_calc.c index f99ac0a..6e48ccd 100644 --- a/src/lib/edje_calc.c +++ b/src/lib/edje_calc.c @@ -2046,8 +2046,7 @@ _edje_part_recalc(Edje *ed, Edje_Real_Part *ep, int flags) ed->have_mapped_part = 1; // create map and populate with part geometry map = evas_map_new(4); - evas_map_util_points_populate_from_geometry - (map, ed->x + pf->x, ed->y + pf->y, pf->w, pf->h, 0); + evas_map_util_points_populate_from_object(map, ep->object); if (ep->part->type == EDJE_PART_TYPE_IMAGE) { int iw = 1, ih = 1;