Commit b938e2b5 authored by Committed by Amitesh Singh
ecore_animator: improve comparision check for stopping animator.
Summary: Time cmparision does not ensure the corrctness of posotion. It is beacuse of double number calculation. Double number calculation are not convertable.for example: 1/39 = 0.02564102564; but 0.02564102564 * 39 = 0.99999999996 != 1; The addition check for pos ensure the pos to be reached at its correct position. @fix Signed-off-by: Umesh Tanwar <email@example.com> Reviewers: cedric, singh.amitesh, jpeg, raster Reviewed By: raster Subscribers: atulfokk, cedric, jpeg Differential Revision: https://phab.enlightenment.org/D4709Signed-off-by: Amitesh Singh <firstname.lastname@example.org>
Showing with 1 addition and 1 deletion