forked from enlightenment/efl
evas rect update calculation - account for clipped color changes
Summary: if clipped color changed and not object color on rect objects, then the updates could be missed. This bug seems to have been here a while unnoticed. Reviewers: Hermet, raster Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7301
This commit is contained in:
parent
fa1295c146
commit
4e044fd9c2
|
@ -191,7 +191,11 @@ evas_object_rectangle_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);
|
||||
goto done;
|
||||
|
|
Loading…
Reference in New Issue