add offset in transform of coords. missed that.

SVN revision: 48372
This commit is contained in:
Carsten Haitzler 2010-04-28 01:52:58 +00:00
parent 0dc8a3d0b7
commit a0b2235a44
1 changed files with 5 additions and 0 deletions

View File

@ -17,6 +17,11 @@ _evas_event_havemap_adjust(Evas_Object *obj, Evas_Coord *x, Evas_Coord *y)
}
if (!pmap) return;
evas_map_coords_get(pmap->cur.map, *x, *y, x, y, obj->mouse_grabbed);
if (pmap->cur.map)
{
*x += pmap->cur.map->normal_geometry.x;
*y += pmap->cur.map->normal_geometry.y;
}
}
static Eina_List *