Skip to content

Conversation

rreusser
Copy link
Contributor

This PR adds two animation options:

  • fromcurrent: true | false: Seems obvious. Uses the gd._fullLayout._currentFrame which is the de facto internal reference to the mostly recently animated named frame, if applicable.
  • direction: 'forward' | 'reverse': Seems obvious.

Together, these add a bit more capability to play buttons. Not strictly called for, but there's no way this won't get asked for. Wohooo.

@etpinard etpinard added this to the v1.19.0 milestone Oct 26, 2016
expect(c1).toEqual(c2);

// Prevent lots of ugly logging when it's already failed:
if(c1 !== c2) return;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😄

@etpinard
Copy link
Contributor

Amazing.

💃

Thanks ❗

@rreusser rreusser merged commit 4886d94 into master Oct 26, 2016
@etpinard etpinard deleted the animation-fromcurrent branch November 15, 2016 22:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature something new
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants