-
Notifications
You must be signed in to change notification settings - Fork 476
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
Animation Paths #418
Animation Paths #418
Conversation
…tion for .animate). Added some basic examples under app.coffee in CactusFramer. Added a few useful functions to Utils.
…issue with animation paths and nested elements.
… functions as any argument value, which will be evaluated when the path node actually gets created.
…f the layer. Changed print -> toString.
…Fixed an issue with debug method which would incorrectly render anchor points with a zero coordinate. Added PathAnimation studio project to use in testing.
…amples to path animation project.
…e compatible with the new animateTo syntax. Cleaned up debug code.
…ring, instead of a Path instance. Fixed an issue that prevented debug markers from drawing if they were equal to 0.
…e of path in options vs truthiness.
…ntext and createSVGElement)
…bug element code.
Signed-off-by: Niels van Hoorn <[email protected]> # Conflicts: # framer/Animation.coffee # framer/Layer.coffee # test/tests/LayerAnimationTest.coffee
2e7a04c
to
0c95112
Compare
backgroundColor: '#cbf' | ||
borderRadius: 25 | ||
|
||
layer.animateTo |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs to be .animate
now, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Correct! Fixed in 6fdb987
Aside from a single method call in the path animation example, this is good to go! Thanks for dealing with all the merge conflicts. |
Signed-off-by: Niels van Hoorn <[email protected]>
This is a version of #151, but with the changed animation API (currently on master) merged in.