forked from enlightenment/efl
evas: Fix no update issue if visiblity of smart object has change
Summary: If child has change about visibility, can't check it correctly. Reviewers: jypark, cedric, jpeg, Hermet Reviewed By: Hermet Differential Revision: https://phab.enlightenment.org/D4345
This commit is contained in:
parent
02dab21804
commit
846c14a392
|
@ -1036,7 +1036,7 @@ evas_object_smart_changed_get(Evas_Object *eo_obj)
|
||||||
for rendering. */
|
for rendering. */
|
||||||
|
|
||||||
//a. Object itself visibility
|
//a. Object itself visibility
|
||||||
if (obj->no_render || !(obj->prev->visible && obj->cur->visible) ||
|
if (obj->no_render || (!obj->prev->visible && !obj->cur->visible) ||
|
||||||
((obj->prev->color.a == 0) && (obj->cur->color.a == 0)))
|
((obj->prev->color.a == 0) && (obj->cur->color.a == 0)))
|
||||||
return EINA_FALSE;
|
return EINA_FALSE;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue