un-defer comp util object hiding if second hide occurs during animation

this should match expected behavior of normal comp objects
This commit is contained in:
Mike Blumenkrantz 2015-12-29 13:24:29 -05:00
parent 5c6db42a08
commit c2b3b159f3
1 changed files with 9 additions and 1 deletions

View File

@ -2522,7 +2522,15 @@ _e_comp_object_util_hide(void *data EINA_UNUSED, Evas_Object *obj)
{
if (!evas_object_visible_get(obj)) return;
/* already hiding */
if (evas_object_data_get(obj, "comp_hiding")) return;
if (evas_object_data_get(obj, "comp_hiding"))
{
evas_object_data_del(obj, "comp_hiding");
evas_object_hide(obj);
e_comp_shape_queue();
if (evas_object_data_del(obj, "comp_ref"))
evas_object_unref(obj);
return;
}
if (!evas_object_data_del(obj, "comp_showing"))
{
evas_object_ref(obj);