Skip to content

getInterpolation返回的float可能大于1 #2

@shisishishisi

Description

@shisishishisi

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions