summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_object_textblock.c
diff options
context:
space:
mode:
authorJaehyun Cho <jae_hyun.cho@samsung.com>2019-01-11 11:17:12 +0900
committerJaehyun Cho <jae_hyun.cho@samsung.com>2019-01-11 11:19:59 +0900
commit766f8151fc20c4c2859844d7a6bcefa92210ed43 (patch)
tree011d27d1f95c10070685c6b155cd3145ecafcb02 /src/lib/evas/canvas/evas_object_textblock.c
parentbc6b9ff9359f9275fd432c92e80550f0c00bcc1f (diff)
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.
Diffstat (limited to 'src/lib/evas/canvas/evas_object_textblock.c')
-rw-r--r--src/lib/evas/canvas/evas_object_textblock.c6
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 0a79e30..37932a1 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,
14858 if ((obj->cur->color.r != obj->prev->color.r) || 14858 if ((obj->cur->color.r != obj->prev->color.r) ||
14859 (obj->cur->color.g != obj->prev->color.g) || 14859 (obj->cur->color.g != obj->prev->color.g) ||
14860 (obj->cur->color.b != obj->prev->color.b) || 14860 (obj->cur->color.b != obj->prev->color.b) ||
14861 (obj->cur->color.a != obj->prev->color.a)) 14861 (obj->cur->color.a != obj->prev->color.a) ||
14862 (obj->cur->cache.clip.r != obj->prev->cache.clip.r) ||
14863 (obj->cur->cache.clip.g != obj->prev->cache.clip.g) ||
14864 (obj->cur->cache.clip.b != obj->prev->cache.clip.b) ||
14865 (obj->cur->cache.clip.a != obj->prev->cache.clip.a))
14862 { 14866 {
14863 evas_object_render_pre_prev_cur_add(&obj->layer->evas->clip_changes, 14867 evas_object_render_pre_prev_cur_add(&obj->layer->evas->clip_changes,
14864 eo_obj, obj); 14868 eo_obj, obj);