forked from enlightenment/enlightenment
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
This commit is contained in:
parent
6a4488faea
commit
331a3e74e1
|
@ -50,6 +50,8 @@ e_zoomap_child_set(Evas_Object *obj, Evas_Object *child)
|
||||||
if (child == sd->child_obj) return;
|
if (child == sd->child_obj) return;
|
||||||
if (sd->child_obj)
|
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_clip_unset(sd->child_obj);
|
||||||
evas_object_smart_member_del(sd->child_obj);
|
evas_object_smart_member_del(sd->child_obj);
|
||||||
evas_object_event_callback_del(sd->child_obj, EVAS_CALLBACK_DEL,
|
evas_object_event_callback_del(sd->child_obj, EVAS_CALLBACK_DEL,
|
||||||
|
|
Loading…
Reference in New Issue