unset solid drawing of opaque regions during comp object animations

this makes animations with transparency not look like giant black rectangles
This commit is contained in:
Mike Blumenkrantz 2016-03-14 14:46:37 -04:00
parent 5494ddd424
commit 04e3c383c4
1 changed files with 2 additions and 0 deletions

View File

@ -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));