forked from enlightenment/efl
ecore: animator can get called with the same value due to rounding and range limit.
This commit is contained in:
parent
be153f92b6
commit
d66517debf
|
@ -11,7 +11,7 @@ static double prev = 0;
|
||||||
static Eina_Bool _anim_cb(void *data, double pos)
|
static Eina_Bool _anim_cb(void *data, double pos)
|
||||||
{
|
{
|
||||||
|
|
||||||
fail_if(prev >= pos);
|
fail_if(prev > pos);
|
||||||
prev = pos;
|
prev = pos;
|
||||||
|
|
||||||
if (pos == 1.0)
|
if (pos == 1.0)
|
||||||
|
|
Loading…
Reference in New Issue