Files
effectcraft/crates/expr
Sean Hawkey cf1898df4f Expressions: a text style's justification and direction use After Effects' names (#3607) (#3609)
* Expressions: a text style's justification and direction use After Effects' names

After Effects reads a paragraph's justification as alignLeft, alignCenter,
alignRight, justifyLastLeft, justifyLastCenter, justifyLastRight or
justifyFull, and its direction as left-to-right or right-to-left; its
setters take those names. EffectCraft returned its own keys (left, ltr,
justifyAll...), and the document refused alignLeft/alignCenter/alignRight
and justifyFull. The getters now return After Effects' names and the
parser accepts them; EffectCraft's own names are still accepted.

* Expressions: every accepted justification spelling reads back as After Effects' name

setJustification('CENTER_JUSTIFY').justification returned CENTER_JUSTIFY.
The setter and getter now share one table of the spellings Justify::parse
accepts, looked up as own properties only, so an alias reads back as
alignCenter and an inherited name such as toString is never matched.
2026-11-13 07:26:36 +01:00
..