summaryrefslogtreecommitdiff
path: root/src/lib/ecore
diff options
context:
space:
mode:
authorDerek Foreman <derekf@osg.samsung.com>2018-06-28 13:12:03 -0500
committerDerek Foreman <derekf@osg.samsung.com>2018-06-28 13:12:04 -0500
commit51d1360a182f6cc6d280a575c2ac7b06b6cf9cb8 (patch)
tree526ab5f109c77a6a28a25739ec87dcff64035fb0 /src/lib/ecore
parent024d38074c3b7c8ec60434b644bdc3b01eee552d (diff)
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
Diffstat (limited to 'src/lib/ecore')
-rw-r--r--src/lib/ecore/ecore_anim.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ecore/ecore_anim.c b/src/lib/ecore/ecore_anim.c
index 6f265d4cf0..6b7f946b83 100644
--- a/src/lib/ecore/ecore_anim.c
+++ b/src/lib/ecore/ecore_anim.c
@@ -989,7 +989,7 @@ _ecore_animator_run(void *data)
989 pos = 0.0; 989 pos = 0.0;
990 } 990 }
991 run_ret = animator->run_func(animator->run_data, pos); 991 run_ret = animator->run_func(animator->run_data, pos);
992 if (t >= (animator->start + animator->run) && (pos >= 1.0)) run_ret = EINA_FALSE; 992 if (eina_dbl_exact(pos, 1.0)) run_ret = EINA_FALSE;
993 return run_ret; 993 return run_ret;
994} 994}
995 995