rotation: set alpha value of rotation object by client's argb value 95/122595/1
authorMinJeong Kim <minjjj.kim@samsung.com>
Mon, 3 Apr 2017 04:56:46 +0000 (13:56 +0900)
committerMinJeong Kim <minjjj.kim@samsung.com>
Mon, 3 Apr 2017 04:56:46 +0000 (13:56 +0900)
Change-Id: I9298781b8eb58ebc77aec194a8524356dc999755
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
src/e_mod_effect_rotation.c

index 0cfbefa..b605fd5 100644 (file)
@@ -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);