forked from enlightenment/efl
fix ecore_animator_pos_map with ACCELERATE; see mail
SVN revision: 70800
This commit is contained in:
parent
f26251cb4f
commit
aeca850bb0
|
@ -628,3 +628,8 @@
|
|||
2012-04-26 Carsten Haitzler (The Rasterman)
|
||||
|
||||
1.2.0 release
|
||||
|
||||
2012-05-06 Mike Blumenkrantz
|
||||
|
||||
Fix bug in ecore_animator_pos_map where final frame is never
|
||||
reached when using ECORE_POS_MAP_ACCELERATE
|
||||
|
|
|
@ -274,6 +274,7 @@ ecore_animator_pos_map(double pos,
|
|||
return pos;
|
||||
|
||||
case ECORE_POS_MAP_ACCELERATE:
|
||||
if (pos == 1.0) return 1.0;
|
||||
pos = 1.0 - _pos_map_sin(M_PI_2 + pos * M_PI_2);
|
||||
return pos;
|
||||
|
||||
|
|
Loading…
Reference in New Issue