diff options
author | Mike Blumenkrantz <zmike@osg.samsung.com> | 2016-03-14 14:46:37 -0400 |
---|---|---|
committer | Mike Blumenkrantz <zmike@osg.samsung.com> | 2016-03-14 14:46:37 -0400 |
commit | 04e3c383c417974cfdda03a75b8469c2c89c5ead (patch) | |
tree | 03e6058ada668bda16dc4f0aab841439a9a8a8f6 | |
parent | 5494ddd424d0f8c02f15df3b15649c142d93659d (diff) | |
download | enlightenment-04e3c383c417974cfdda03a75b8469c2c89c5ead.tar.gz |
unset solid drawing of opaque regions during comp object animations
this makes animations with transparency not look like giant black rectangles
-rw-r--r-- | src/bin/e_comp_object.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bin/e_comp_object.c b/src/bin/e_comp_object.c index b7ff1120ea..d252e6fdaa 100644 --- a/src/bin/e_comp_object.c +++ b/src/bin/e_comp_object.c @@ -727,6 +727,7 @@ _e_comp_object_animating_begin(E_Comp_Object *cw) e_comp->animating++; REFD(cw->ec, 2); e_object_ref(E_OBJECT(cw->ec)); + evas_object_image_border_center_fill_set(cw->obj, EVAS_BORDER_FILL_DEFAULT); } } @@ -740,6 +741,7 @@ _e_comp_object_animating_end(E_Comp_Object *cw) { e_comp->animating--; cw->showing = 0; + evas_object_image_border_center_fill_set(cw->obj, EVAS_BORDER_FILL_SOLID); UNREFD(cw->ec, 2); /* remove ref from animation start, account for possibility of deletion from unref */ return !!e_object_unref(E_OBJECT(cw->ec)); |