if (!transit->objs) elm_transit_del(transit);
}
+//TODO: Remove!
+//Since evas map have a afterimage bug for this time.
+//This function is added temporary.
+static void
+_obj_damage_area_set(Evas_Object *obj)
+{
+ const Evas_Map *map;
+ Evas_Coord_Point coords;
+ Evas_Coord_Point min, max;
+ int i;
+
+ map = evas_object_map_get(obj);
+ if (!map) return;
+
+ evas_map_point_coord_get(map, 0, &coords.x, &coords.y, NULL);
+
+ max = min = coords;
+
+ for (i = 1; i < 4; ++i)
+ {
+ evas_map_point_coord_get(map, i, &coords.x, &coords.y, NULL);
+
+ if (coords.x < min.x)
+ min.x = coords.x;
+ else if (coords.x > max.x)
+ max.x = coords.x;
+
+ if (coords.y < min.y)
+ min.y = coords.y;
+ else if (coords.y > max.y)
+ max.y = coords.y;
+ }
+
+ evas_damage_rectangle_add(evas_object_evas_get(obj),
+ min.x, min.y,
+ max.x - min.x, max.y - min.y);
+}
+
+
+
static void
_elm_transit_object_remove(Elm_Transit *transit, Evas_Object *obj)
{
if (state->map)
evas_object_map_set(obj, state->map);
+ //TODO: Remove!
+ //Since evas map have a afterimage bug for this time.
+ //This line is added temporary.
+ _obj_damage_area_set(obj);
+
}
free(state);
}