show already-visible comp util objects when changing frame type

ensure internal clipper state matches object visibility state
This commit is contained in:
Mike Blumenkrantz 2017-02-24 14:15:42 -05:00
parent a32f7119e2
commit e56f689fad
1 changed files with 2 additions and 0 deletions

View File

@ -2871,6 +2871,8 @@ e_comp_object_util_type_set(Evas_Object *obj, E_Comp_Object_Type type)
edje_object_signal_emit(obj, "e,state,shadow,on", "e");
else
edje_object_signal_emit(obj, "e,state,shadow,off", "e");
if (evas_object_visible_get(obj))
edje_object_signal_emit(obj, "e,state,visible", "e");
if (content)
edje_object_part_swallow(obj, "e.swallow.content", content);
}