forked from enlightenment/efl
evas: fix legacy evas_object_clip_unset for group object.
Summary: evas_object_clip_unset was broken for group object in several month or year.. basically, evas_object_clip_unset(obj) efl_canvas_object_clipper_set(obj, NULL) is equal on efl_clip implements, but on the group object, we need to unclip the whole group children in efl_canvas_group_efl_canvas_object_clipper_set which was not performed by legacy clip_usnet API. Test Plan: try clip_unset(obj) and clipper_set(obj, NULL) in any group clipped case (i.e. scroller content) and see clip_unset is broken and fixed by patch. Reviewers: cedric, bu5hm4n, zmike Reviewed By: zmike Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10984
This commit is contained in:
parent
5154b5a8fc
commit
2f8683ef41
|
@ -461,9 +461,7 @@ _clip_unset(Eo *eo_obj, Evas_Object_Protected_Data *obj)
|
|||
EAPI void
|
||||
evas_object_clip_unset(Evas_Object *eo_obj)
|
||||
{
|
||||
Evas_Object_Protected_Data *obj = EVAS_OBJECT_DATA_SAFE_GET(eo_obj);
|
||||
EVAS_OBJECT_DATA_ALIVE_CHECK(obj);
|
||||
_clip_unset(eo_obj, obj);
|
||||
efl_canvas_object_clipper_set(eo_obj, NULL);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in New Issue