From d8fdd35212b679277fa7788e41afc08140557d33 Mon Sep 17 00:00:00 2001 From: Rajeev Ranjan Date: Thu, 18 Apr 2013 19:06:18 +0530 Subject: [PATCH] [elm_map]Triggering overlay re-rendering on overlay add and overlay content set with engines other than default as well. Change-Id: I22aa8617c1d7fb2b0cc8b2f60fdd15ae31a79c28 --- src/lib/elm_map.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/lib/elm_map.c b/src/lib/elm_map.c index 6b14a2d..5eea1ce 100644 --- a/src/lib/elm_map.c +++ b/src/lib/elm_map.c @@ -5531,7 +5531,9 @@ elm_map_overlay_add(Evas_Object *obj, overlay->grp = _overlay_group_new(sd); sd->overlays = eina_list_append(sd->overlays, overlay); - evas_object_smart_changed(sd->pan_obj); + if (!strcmp(overlay->wsd->engine->name, INTERNAL_ENGINE_NAME)) + evas_object_smart_changed(overlay->wsd->pan_obj); + else _overlay_place(sd); return overlay; #else @@ -5988,7 +5990,9 @@ elm_map_overlay_content_set(Elm_Map_Overlay *overlay, _overlay_class_content_update(overlay->ovl, content); else ERR("Not supported overlay type: %d", overlay->type); - evas_object_smart_changed(overlay->wsd->pan_obj); + if (!strcmp(overlay->wsd->engine->name, INTERNAL_ENGINE_NAME)) + evas_object_smart_changed(overlay->wsd->pan_obj); + else _overlay_place(overlay->wsd); #else (void)overlay; (void)content; -- 2.7.4