forked from enlightenment/efl
immediately unset maps.
if we call evas_object_map_enable_set(o, 0) we expect things to go back to normal immediately. SVN revision: 43424
This commit is contained in:
parent
0007c51508
commit
3d77c82d15
|
@ -132,7 +132,7 @@ evas_object_map_enable_set(Evas_Object *obj, Eina_Bool enabled)
|
||||||
return;
|
return;
|
||||||
MAGIC_CHECK_END();
|
MAGIC_CHECK_END();
|
||||||
if (obj->cur.usemap == !!enabled) return;
|
if (obj->cur.usemap == !!enabled) return;
|
||||||
obj->cur.usemap = enabled;
|
obj->cur.usemap = !!enabled;
|
||||||
if (enabled)
|
if (enabled)
|
||||||
{
|
{
|
||||||
if (!obj->cur.map)
|
if (!obj->cur.map)
|
||||||
|
@ -147,7 +147,7 @@ evas_object_map_enable_set(Evas_Object *obj, Eina_Bool enabled)
|
||||||
_evas_map_calc_geom_change(obj);
|
_evas_map_calc_geom_change(obj);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (obj->cur.usemap) _evas_map_calc_map_geometry(obj);
|
_evas_map_calc_map_geometry(obj);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -248,7 +248,7 @@ evas_object_map_set(Evas_Object *obj, const Evas_Map *map)
|
||||||
_evas_map_copy(obj->cur.map, map);
|
_evas_map_copy(obj->cur.map, map);
|
||||||
obj->prev.map = NULL;
|
obj->prev.map = NULL;
|
||||||
}
|
}
|
||||||
if (obj->cur.usemap) _evas_map_calc_map_geometry(obj);
|
_evas_map_calc_map_geometry(obj);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue