discomfitor pushed a commit to branch enlightenment-0.20.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=b230940f4f6446c5fe7564abfe8e16f4d5f79d27

commit b230940f4f6446c5fe7564abfe8e16f4d5f79d27
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Mon Mar 14 14:46:37 2016 -0400

    unset solid drawing of opaque regions during comp object animations
    
    this makes animations with transparency not look like giant black rectangles
---
 src/bin/e_comp_object.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/bin/e_comp_object.c b/src/bin/e_comp_object.c
index 82e2834..01ec66d 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));

-- 


Reply via email to