forked from enlightenment/efl
ecore_anim: Simplify timeline terminal condition
Summary: We should only ever have a pos of 1.0 once, the current terminal condition gives the impression that it might be possible to have more than one 1.0 firing. This would break a lot of code. No functional change intended. Depends on D6464 Reviewers: devilhorns, zmike Reviewed By: zmike Subscribers: cedric, #committers, zmike Tags: #efl Differential Revision: https://phab.enlightenment.org/D6465
This commit is contained in:
parent
024d38074c
commit
51d1360a18
|
@ -989,7 +989,7 @@ _ecore_animator_run(void *data)
|
|||
pos = 0.0;
|
||||
}
|
||||
run_ret = animator->run_func(animator->run_data, pos);
|
||||
if (t >= (animator->start + animator->run) && (pos >= 1.0)) run_ret = EINA_FALSE;
|
||||
if (eina_dbl_exact(pos, 1.0)) run_ret = EINA_FALSE;
|
||||
return run_ret;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue