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

Append the TextAnimatorNode as a child keypath #1301

Merged
merged 1 commit into from
Feb 8, 2021

Conversation

ejensen
Copy link
Contributor

@ejensen ejensen commented Dec 10, 2020

Appends the TextAnimatorNode as a child keypath of TextCompositionLayer
This allows for setting values on text animations. For example Fill Color, Stroke Color, Stroke Width, and Tracking.

Animation keypaths before the change:

Lottie: Logging Animation Keypaths
Text Layer 1
Text Layer 1.Transform
Text Layer 1.Transform.Opacity
Text Layer 1.Transform.Rotation
Text Layer 1.Transform.Anchor Point
Text Layer 1.Transform.Scale
Text Layer 1.Transform.Position

Animation keypaths after the change:

Lottie: Logging Animation Keypaths
Text Layer 1
Text Layer 1.Transform
Text Layer 1.Transform.Opacity
Text Layer 1.Transform.Rotation
Text Layer 1.Transform.Anchor Point
Text Layer 1.Transform.Scale
Text Layer 1.Transform.Position
Text Layer 1.Animation 1
Text Layer 1.Animation 1.Fill Color

This allows for setting values on text animations. For example Fill Color, Stroke Color, Stroke Width, and Tracking
@buba447 buba447 merged commit 3d27dc1 into airbnb:master Feb 8, 2021
calda pushed a commit that referenced this pull request Nov 28, 2022
Append the TextAnimatorNode as a child keypath
calda pushed a commit that referenced this pull request Dec 1, 2022
Append the TextAnimatorNode as a child keypath
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants