Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move an animation to a specific frame #43

Closed
wants to merge 12 commits into from

Conversation

stanmots
Copy link
Contributor

moveToFrame public function makes it possible to move an animation to a required GIF frame. It works according to the following algorithm:

  1. Stop currently played animation;
  2. Extract GIF frame in accordance with the given index;
  3. Display this frame;
  4. Rebuild the cache (animatedFrames array) during the next animation starting procedure.

@kaishin
Copy link
Owner

kaishin commented Mar 16, 2016

@storix Does this still depend on #38? In which order you prefer them to be merged?

@stanmots
Copy link
Contributor Author

@kaishin No. #38 is deprecated. You can review and merge this PR completely independently now.

@kaishin kaishin added this to the 2.0 milestone Apr 24, 2016
@kaishin
Copy link
Owner

kaishin commented Sep 25, 2016

Ditto #42 (comment)

@kaishin kaishin closed this Sep 25, 2016
@kaishin
Copy link
Owner

kaishin commented Oct 1, 2016

Will reopen to keep track of the feature.

@kaishin kaishin reopened this Oct 1, 2016
@kaishin kaishin modified the milestones: 2.1, 2.0 Oct 1, 2016
@kaishin kaishin removed this from the 2.1 milestone Jan 1, 2018
@rk85097
Copy link

rk85097 commented Mar 13, 2018

Any plans on adding this functionality? I really need it :)

@kaishin
Copy link
Owner

kaishin commented Mar 13, 2018

@rk85097 No concrete plans, but if you want to look at the PR as a reference and make the changes necessary in the current version that would be terrific.

@kaishin kaishin closed this Apr 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants