forked from enlightenment/efl
emotion: Convert to new animators
Summary: Use more efficient animator mechanism. Depends on D7049 Reviewers: devilhorns Reviewed By: devilhorns Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7050
This commit is contained in:
parent
64208d4d65
commit
be752e6bc1
|
@ -1518,7 +1518,8 @@ _emotion_frame_new(Evas_Object *obj)
|
|||
Efl_Canvas_Video_Data *sd;
|
||||
|
||||
E_SMART_OBJ_GET(sd, obj, E_OBJ_NAME);
|
||||
if (!sd->anim) sd->anim = ecore_animator_add(_emotion_frame_anim, obj);
|
||||
if (!sd->anim)
|
||||
sd->anim = ecore_evas_animator_add(obj, _emotion_frame_anim, obj);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
|
|
Loading…
Reference in New Issue