Skip to content

Use Marker with a duration of 0 #2586

@GuillaumeBourge

Description

@GuillaumeBourge

Link to repo
Brunch master and module : issue-repro-compose

The issue is when we use a lottie json file with markers, we cannot use marker with duration of 0.
Marker with 0 duration = 1 frame and it's usefull if we want a step without animation.
Currently on Android it is playing the full animation from marker frame to file's end without looping even if set explicity

On lottie iOS library it's working well, the animation is paused on the correct frame.

Steps to reproduce the behavior:
Run the module "issue-repro-compose"
the first star is correctly playing the first marker with a duration of 30 frames infinitly
The second star play one time from the marker till the end although this marker has 0 duration

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions