summaryrefslogtreecommitdiff
path: root/src/lib/evas
diff options
context:
space:
mode:
authorJiyoun Park <jy0703.park@samsung.com>2018-11-21 20:55:32 +0900
committerHermet Park <hermetpark@gmail.com>2018-11-21 20:55:32 +0900
commitbb455f3490e3ce76d01a34f27ebc97c0fa812168 (patch)
tree497d0a42883b9121c4d531fb2c41cd04b957bd08 /src/lib/evas
parent3f957a9bd0f46c0f0771b3ebddcae4462e56e050 (diff)
evas_object_image: fix cutout bug related with opaque object
Summary: condition: 1. full size rect 2. upper side, if there is same size image object and image object preload state is EVAS_IMAGE_PRELOADING. below rect cannot be rendered because upper image object was added to cutout area event though image object is not opaque. so fix opaque check function return false for opaque state of preloading image. Reviewers: Hermet, raster Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7318
Diffstat (limited to 'src/lib/evas')
-rw-r--r--src/lib/evas/canvas/evas_object_image.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/evas/canvas/evas_object_image.c b/src/lib/evas/canvas/evas_object_image.c
index b9fb345ed9..594aa57e85 100644
--- a/src/lib/evas/canvas/evas_object_image.c
+++ b/src/lib/evas/canvas/evas_object_image.c
@@ -2720,6 +2720,8 @@ evas_object_image_is_opaque(Evas_Object *eo_obj EINA_UNUSED,
2720 o->cur.opaque_valid = 0;*/ 2720 o->cur.opaque_valid = 0;*/
2721 Evas_Image_Data *o = type_private_data; 2721 Evas_Image_Data *o = type_private_data;
2722 2722
2723 if (o->preload == EVAS_IMAGE_PRELOADING) return 0;
2724
2723 if (o->cur->opaque_valid) 2725 if (o->cur->opaque_valid)
2724 { 2726 {
2725 if (!o->cur->opaque) return 0; 2727 if (!o->cur->opaque) return 0;