Skip to content

WebCanvas: Calling animation.frame(0) before play() throws an error #216

@zubiden

Description

@zubiden

While working on the frame caching demo, I noticed that any Animation call resulting in an internal seek to frame 0 before the play() call throws the following error:

TVGERR - frame (set) failed: Insufficient condition

Reproducible on https://thorvg-playground.vercel.app/showcase/lottie-animation. Add animation.frame(0), animation.seek(0) or animation.stop() before line 34.

Setting the frame to 0 after the play() call works fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingwebcanvasWebCanvas

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions