forked from enlightenment/efl
parent
c472771a84
commit
d51568d537
|
@ -201,6 +201,8 @@ evas_object_rectangle_render_pre(Evas_Object *obj)
|
||||||
/* if it just became visible or invisible */
|
/* if it just became visible or invisible */
|
||||||
is_v = evas_object_is_visible(obj);
|
is_v = evas_object_is_visible(obj);
|
||||||
was_v = evas_object_was_visible(obj);
|
was_v = evas_object_was_visible(obj);
|
||||||
|
/* POST 1.0 -> enable */
|
||||||
|
/* if (!(is_v | was_v)) goto done;*/
|
||||||
if (is_v != was_v)
|
if (is_v != was_v)
|
||||||
{
|
{
|
||||||
evas_object_render_pre_visible_change(&obj->layer->evas->clip_changes, obj, is_v, was_v);
|
evas_object_render_pre_visible_change(&obj->layer->evas->clip_changes, obj, is_v, was_v);
|
||||||
|
|
|
@ -88,8 +88,8 @@ evas_event_passes_through(Evas_Object *obj)
|
||||||
|
|
||||||
static inline int
|
static inline int
|
||||||
evas_object_is_visible(Evas_Object *obj)
|
evas_object_is_visible(Evas_Object *obj)
|
||||||
{
|
{ /* post 1.0 -> enable? */
|
||||||
if ((obj->cur.visible) &&
|
if ((obj->cur.visible)/* && (obj->cur.color.a > 0)*/ &&
|
||||||
((obj->cur.cache.clip.visible) || (obj->smart.smart)) &&
|
((obj->cur.cache.clip.visible) || (obj->smart.smart)) &&
|
||||||
((obj->cur.cache.clip.a > 0 && obj->cur.render_op == EVAS_RENDER_BLEND)
|
((obj->cur.cache.clip.a > 0 && obj->cur.render_op == EVAS_RENDER_BLEND)
|
||||||
|| obj->cur.render_op != EVAS_RENDER_BLEND))
|
|| obj->cur.render_op != EVAS_RENDER_BLEND))
|
||||||
|
|
Loading…
Reference in New Issue