forked from enlightenment/enlightenment
add smart callback for comp object hiding animation begin
it's impossible to determine this at the time of calling without adding some sort of callback here; edje signals are deferred, meaning that an interested user will not be able to check the state of a client when it begins to hide
This commit is contained in:
parent
e09b0d3e03
commit
f7d3952ec0
|
@ -1395,6 +1395,7 @@ _e_comp_intercept_hide(void *data, Evas_Object *obj)
|
||||||
_e_comp_object_animating_begin(cw);
|
_e_comp_object_animating_begin(cw);
|
||||||
if (!_e_comp_object_effect_visibility_start(cw, 0)) return;
|
if (!_e_comp_object_effect_visibility_start(cw, 0)) return;
|
||||||
}
|
}
|
||||||
|
evas_object_smart_callback_call(obj, "hiding", cw->ec);
|
||||||
cw->defer_hide = !!cw->animating;
|
cw->defer_hide = !!cw->animating;
|
||||||
if (!cw->animating)
|
if (!cw->animating)
|
||||||
e_comp_object_effect_set(obj, NULL);
|
e_comp_object_effect_set(obj, NULL);
|
||||||
|
|
Loading…
Reference in New Issue