Open nangonghan opened 2 years ago
As far as I know, in AE, the text will be on top of the text box, and in figma, it will be centered. This may be the cause of the error
I hope this link is helpful to you. I tried to fix this bug, but I haven't fixed it yet.
The positionY of the text layer in AE is higher than that in Figma
As far as I know, the positionY of text layer of text is related to lineHeight.
r('ADBE Transform Group')('ADBE Position').setValue([ layer.frame.x * compMult, (layer.frame.y + layer.fontSize/6) * compMult]);
maybe this line shouldbe include lineHeight in calculate postionY of textLayer on figma import to ae