sourceRectAtTime() height is not updating when i change font size
Hi, I have a problem with sourceRectAtTime() I'm trying to parent shape layer to the top edge of the text layer with some offset and its working when Im adding another line of text or when i change leading, but when i change font size the position of the shape layer doesnt change. Someone know how to fix it?
anchor point text layer expression:
left = sourceRectAtTime().left;
top = sourceRectAtTime().top;
width = sourceRectAtTime().width;
height = sourceRectAtTime().height;
x = 0;
y = top + height;
[x,y]
anchor point shape layer expression:
left = thisComp.layer("text").sourceRectAtTime().left;
top = thisComp.layer("text").sourceRectAtTime().top;
width = thisComp.layer("text").sourceRectAtTime().width;
height = thisComp.layer("text").sourceRectAtTime().height;
x = 0;
y = top + height;
[x,y]
