forked from enlightenment/efl
use part geom for map - better for text.. oh yeah.
SVN revision: 48498
This commit is contained in:
parent
6caac50006
commit
9f030460b3
|
@ -2046,8 +2046,7 @@ _edje_part_recalc(Edje *ed, Edje_Real_Part *ep, int flags)
|
||||||
ed->have_mapped_part = 1;
|
ed->have_mapped_part = 1;
|
||||||
// create map and populate with part geometry
|
// create map and populate with part geometry
|
||||||
map = evas_map_new(4);
|
map = evas_map_new(4);
|
||||||
evas_map_util_points_populate_from_geometry
|
evas_map_util_points_populate_from_object(map, ep->object);
|
||||||
(map, ed->x + pf->x, ed->y + pf->y, pf->w, pf->h, 0);
|
|
||||||
if (ep->part->type == EDJE_PART_TYPE_IMAGE)
|
if (ep->part->type == EDJE_PART_TYPE_IMAGE)
|
||||||
{
|
{
|
||||||
int iw = 1, ih = 1;
|
int iw = 1, ih = 1;
|
||||||
|
|
Loading…
Reference in New Issue