Skip to content

Conversation

@calda
Copy link
Member

@calda calda commented Apr 1, 2025

This PR fixes an issue where an animation with justified text justification would fail to parse.

The schema supports values 3, 4, 5, and 6 (different "justified" values) for text justification, but we previously only allowed 0, 1, or 2 (left, right, center).

Fixes #2545.

Comment on lines +14 to +17
case justifyLastLineLeft
case justifyLastLineRight
case justifyLastLineCenter
case justifyLastLineFull
Copy link
Member Author

Choose a reason for hiding this comment

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

Comment on lines +2 to +3
[0] The Core Animation rendering engine does not support animating multiple keyframes for text layer text values, due to limitations of Core Animation.
[0] The Core Animation rendering engine does not support animating multiple keyframes for text layer text values, due to limitations of Core Animation. No newline at end of file
Copy link
Contributor

Choose a reason for hiding this comment

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

This looks duplicated

Copy link
Member Author

Choose a reason for hiding this comment

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

Generated output from the snapshot test

@calda calda merged commit b80fcfd into master Apr 28, 2025
12 of 13 checks passed
@calda calda deleted the cal--2545 branch April 28, 2025 20:57
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.

Error when decoding animation - invalidInput KeyframeGroup

3 participants