DoughnutDemo_Android icon indicating copy to clipboard operation
DoughnutDemo_Android copied to clipboard

getInterpolation返回的float可能大于1

Open shisishishisi opened this issue 8 years ago • 0 comments

使用BounceInterpolator的话,getInterpolation返回的float最大值大于1,所以getCurrentColor的判断条件应该改为f.length == 1 || percent >= 1

shisishishisi avatar Dec 15 '17 07:12 shisishishisi