diff options
author | Jaehyun Cho <jae_hyun.cho@samsung.com> | 2019-01-11 11:17:12 +0900 |
---|---|---|
committer | Jaehyun Cho <jae_hyun.cho@samsung.com> | 2019-01-11 11:19:59 +0900 |
commit | 766f8151fc20c4c2859844d7a6bcefa92210ed43 (patch) | |
tree | 011d27d1f95c10070685c6b155cd3145ecafcb02 | |
parent | bc6b9ff9359f9275fd432c92e80550f0c00bcc1f (diff) | |
download | efl-766f8151fc20c4c2859844d7a6bcefa92210ed43.tar.gz |
evas textblock update calculation - account for clipped color changes
if clipped color changed and not object color on textblock objects, then
the updates could be missed. This bug seems to have been here a while
unnoticed.
This patch refers the patch 4e044fd9c27db61d792319ce566e1d3eacb553f2.
-rw-r--r-- | src/lib/evas/canvas/evas_object_textblock.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/evas/canvas/evas_object_textblock.c b/src/lib/evas/canvas/evas_object_textblock.c index 0a79e30472..37932a1d62 100644 --- a/src/lib/evas/canvas/evas_object_textblock.c +++ b/src/lib/evas/canvas/evas_object_textblock.c @@ -14858,7 +14858,11 @@ evas_object_textblock_render_pre(Evas_Object *eo_obj, if ((obj->cur->color.r != obj->prev->color.r) || (obj->cur->color.g != obj->prev->color.g) || (obj->cur->color.b != obj->prev->color.b) || - (obj->cur->color.a != obj->prev->color.a)) + (obj->cur->color.a != obj->prev->color.a) || + (obj->cur->cache.clip.r != obj->prev->cache.clip.r) || + (obj->cur->cache.clip.g != obj->prev->cache.clip.g) || + (obj->cur->cache.clip.b != obj->prev->cache.clip.b) || + (obj->cur->cache.clip.a != obj->prev->cache.clip.a)) { evas_object_render_pre_prev_cur_add(&obj->layer->evas->clip_changes, eo_obj, obj); |