discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=331a3e74e136aba26827b596dafe8f089f5a0d09

commit 331a3e74e136aba26827b596dafe8f089f5a0d09
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Mon Feb 1 17:31:20 2016 -0500

    disable map when unsetting zoomap child
    
    if the existing map is left enabled when the child is removed from the
    zoomap, the child object will be permanently misrendered with the previously
    applied map
---
 src/bin/e_zoomap.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/bin/e_zoomap.c b/src/bin/e_zoomap.c
index f27b665..682412f 100644
--- a/src/bin/e_zoomap.c
+++ b/src/bin/e_zoomap.c
@@ -50,6 +50,8 @@ e_zoomap_child_set(Evas_Object *obj, Evas_Object *child)
    if (child == sd->child_obj) return;
    if (sd->child_obj)
      {
+        evas_object_map_set(sd->child_obj, NULL);
+        evas_object_map_enable_set(sd->child_obj, EINA_FALSE);
         evas_object_clip_unset(sd->child_obj);
         evas_object_smart_member_del(sd->child_obj);
         evas_object_event_callback_del(sd->child_obj, EVAS_CALLBACK_DEL,

-- 


Reply via email to