forked from enlightenment/efl
Evas: Another fix for no-render
Despite the previous patches, no-render objects could be partially visible. Eg a fileselector marked as no-render would have its file list visible. All other children were not shown. I think this is not the last fix for this feature, but eventually source_visible will have to die internally and be replaced by no-render. Thanks @yakov-g for the report.
This commit is contained in:
parent
2dfd517c8a
commit
5917b49f59
|
@ -124,6 +124,8 @@ evas_object_is_source_invisible(Evas_Object *eo_obj EINA_UNUSED, Evas_Object_Pro
|
||||||
{
|
{
|
||||||
if (obj->parent_cache.src_invisible_valid)
|
if (obj->parent_cache.src_invisible_valid)
|
||||||
return obj->parent_cache.src_invisible;
|
return obj->parent_cache.src_invisible;
|
||||||
|
if (obj->no_render)
|
||||||
|
return EINA_TRUE;
|
||||||
if ((obj->proxy->proxies || obj->proxy->proxy_textures) && obj->proxy->src_invisible) return 1;
|
if ((obj->proxy->proxies || obj->proxy->proxy_textures) && obj->proxy->src_invisible) return 1;
|
||||||
if (!obj->smart.parent) return 0;
|
if (!obj->smart.parent) return 0;
|
||||||
if (obj->mask->is_mask) return 0;
|
if (obj->mask->is_mask) return 0;
|
||||||
|
|
Loading…
Reference in New Issue