From f9a624fba9cdf12b914266d06b3778e2ca1745db Mon Sep 17 00:00:00 2001 From: MinJeong Kim Date: Mon, 3 Apr 2017 13:56:46 +0900 Subject: [PATCH] rotation: set alpha value of rotation object by client's argb value Change-Id: I9298781b8eb58ebc77aec194a8524356dc999755 Signed-off-by: MinJeong Kim --- src/e_mod_effect_rotation.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/e_mod_effect_rotation.c b/src/e_mod_effect_rotation.c index 0cfbefa..b605fd5 100644 --- a/src/e_mod_effect_rotation.c +++ b/src/e_mod_effect_rotation.c @@ -338,7 +338,8 @@ _rotation_effect_object_create(Evas_Object *o) if (pix) { - evas_object_image_alpha_set(img, 1); + if (ec->argb) + evas_object_image_alpha_set(img, 1); evas_object_image_size_set(img, w, h); evas_object_image_data_set(img, pix); evas_object_image_data_update_add(img, 0, 0, w, h); -- 2.34.1