only play visibility effects for allowed clients
This commit is contained in:
parent
73fecddd7e
commit
da895a24dd
|
@ -712,7 +712,7 @@ _e_comp_object_effect_visibility_start(E_Comp_Object *cw, Eina_Bool state)
|
||||||
{
|
{
|
||||||
int x, y;
|
int x, y;
|
||||||
|
|
||||||
if (!cw->visibility_effect) return EINA_TRUE;;
|
if ((!cw->visibility_effect) || (!e_comp_object_effect_allowed_get(cw->smart_obj))) return EINA_TRUE;;
|
||||||
_e_comp_object_animating_begin(cw);
|
_e_comp_object_animating_begin(cw);
|
||||||
e_comp_object_effect_stop(cw->smart_obj, _e_comp_object_done_defer);
|
e_comp_object_effect_stop(cw->smart_obj, _e_comp_object_done_defer);
|
||||||
if (!e_comp_object_effect_set(cw->smart_obj, cw->visibility_effect))
|
if (!e_comp_object_effect_set(cw->smart_obj, cw->visibility_effect))
|
||||||
|
|
Loading…
Reference in New Issue