Revert "evas animation: removed unnecessray checking."

This reverts commit 959c503a71.
This commit is contained in:
Hermet Park 2019-11-21 17:45:36 +09:00
parent ce30a952b2
commit cf79e1f7e6
1 changed files with 3 additions and 0 deletions

View File

@ -61,6 +61,9 @@ _animator_cb(void *data, const Efl_Event *ev EINA_UNUSED)
efl_event_callback_call(obj, EFL_CANVAS_OBJECT_ANIMATION_EVENT_ANIMATION_PROGRESS_UPDATED, &pd->in->progress);
//Check if animation stopped in animation_progress,updated callback.
if (!pd->in) return;
//Not end. Keep going.
if ((pd->in->speed < 0 && EINA_DBL_EQ(pd->in->progress, 0)) ||
(pd->in->speed > 0 && EINA_DBL_EQ(pd->in->progress, 1.0)))