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:
parent
5494ddd424
commit
04e3c383c4
|
@ -727,6 +727,7 @@ _e_comp_object_animating_begin(E_Comp_Object *cw)
|
||||||
e_comp->animating++;
|
e_comp->animating++;
|
||||||
REFD(cw->ec, 2);
|
REFD(cw->ec, 2);
|
||||||
e_object_ref(E_OBJECT(cw->ec));
|
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--;
|
e_comp->animating--;
|
||||||
cw->showing = 0;
|
cw->showing = 0;
|
||||||
|
evas_object_image_border_center_fill_set(cw->obj, EVAS_BORDER_FILL_SOLID);
|
||||||
UNREFD(cw->ec, 2);
|
UNREFD(cw->ec, 2);
|
||||||
/* remove ref from animation start, account for possibility of deletion from unref */
|
/* remove ref from animation start, account for possibility of deletion from unref */
|
||||||
return !!e_object_unref(E_OBJECT(cw->ec));
|
return !!e_object_unref(E_OBJECT(cw->ec));
|
||||||
|
|
Loading…
Reference in New Issue