forked from enlightenment/efl
Un/Clip swallowed objects too when setting clipper.
SVN revision: 48225
This commit is contained in:
parent
f18163a403
commit
812b9ef672
|
@ -2243,7 +2243,8 @@ edje_edit_part_clip_to_set(Evas_Object *obj, const char *part, const char *clip_
|
|||
}
|
||||
|
||||
evas_object_clip_set(rp->object, ed->clipper);
|
||||
|
||||
if (rp->swallowed_object)
|
||||
evas_object_clip_set(rp->swallowed_object, ed->clipper);
|
||||
|
||||
rp->part->clip_to_id = -1;
|
||||
rp->clip_to = NULL;
|
||||
|
@ -2271,6 +2272,8 @@ edje_edit_part_clip_to_set(Evas_Object *obj, const char *part, const char *clip_
|
|||
evas_object_pass_events_set(rp->clip_to->object, 1);
|
||||
evas_object_pointer_mode_set(rp->clip_to->object, EVAS_OBJECT_POINTER_MODE_NOGRAB);
|
||||
evas_object_clip_set(rp->object, rp->clip_to->object);
|
||||
if (rp->swallowed_object)
|
||||
evas_object_clip_set(rp->swallowed_object, rp->clip_to->object);
|
||||
|
||||
edje_object_calc_force(obj);
|
||||
|
||||
|
|
Loading…
Reference in New Issue